summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--frontend/app/views/tile/components/tile.form.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/app/views/tile/components/tile.form.js b/frontend/app/views/tile/components/tile.form.js
index b50af2f..c258c5e 100644
--- a/frontend/app/views/tile/components/tile.form.js
+++ b/frontend/app/views/tile/components/tile.form.js
@@ -117,9 +117,9 @@ class TileForm extends Component {
errorFields: new Set([]),
})
}
- if (this.props.page.editor.pickedCursor !== prevProps.page.editor.pickedCursor) {
- console.log("cursor >>", this.props.page.editor.pickedCursor.id)
+ if (this.props.page.editor.pickedCursor !== prevProps.page.editor.pickedCursor && this.props.page.editor.pickedCursor) {
this.handleSettingsSelect('custom_cursor_id', this.props.page.editor.pickedCursor.id)
+ this.props.pageActions.pickCursor(null)
}
}