Skip to content

Commit b03ae84

Browse files
Copilotmikebarkmin
andcommitted
Fix useEffect dependency and complete implementation
Co-authored-by: mikebarkmin <2592379+mikebarkmin@users.noreply.github.com>
1 parent e8ffd2c commit b03ae84

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/learningmap/src/LearningMapEditor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ export function LearningMapEditor({
501501
const id = hash.substring(6);
502502
handleLoadExternal(id);
503503
}
504-
}, []);
504+
}, [handleLoadExternal]);
505505

506506

507507
const defaultEdgeOptions = {

0 commit comments

Comments
 (0)