Skip to content

Commit

Permalink
KAD-3354 Fix issue when importing a core menu
Browse files Browse the repository at this point in the history
  • Loading branch information
oakesjosh committed Sep 18, 2024
1 parent 421612a commit 72899c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blocks/navigation/edit-inner.js
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ export function EditInner(props) {
return () => {
isMounted = false; // Cleanup to avoid setting state on unmounted component
};
}, [id]);
}, [window.kb_navigation_import_core]);

useEffect(() => {
if (blocksToInsert.length !== 0) {
Expand Down

0 comments on commit 72899c8

Please sign in to comment.