Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
componentDidUpdate (prevProps) {
const modifiedProps = getModifiedProps(prevProps, this.props);
if (modifiedProps !== false) {
this.updatePathfinderMarker(modifiedProps);
}
}
componentDidUpdate (prevProps) {
const modifiedProps = getModifiedProps(prevProps, this.props);
if (modifiedProps !== false) {
this.updatePathfinder(modifiedProps);
}
}