Skip to content

Add condition when clearing polyline location properties#58

Draft
philip-khaisman wants to merge 1 commit into
masterfrom
fix-polylinelayer-clear-error
Draft

Add condition when clearing polyline location properties#58
philip-khaisman wants to merge 1 commit into
masterfrom
fix-polylinelayer-clear-error

Conversation

@philip-khaisman

Copy link
Copy Markdown
Collaborator

I've run into a scenario where sometimes currentProps is undefined making currentProps.location causing an error. If a layer doesn't have currentProps there is nothing to clear so adding a check to get around the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant