Skip to content

Commit

Permalink
chore(example): save restore cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
moklick committed Dec 10, 2020
1 parent 92f59f1 commit be5cacc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/src/SaveRestore/index.js
Expand Up @@ -39,7 +39,7 @@ const Controls = memo(({ rfInstance, setElements }) => {
};

onRestoreFlow();
}, [rfInstance, setElements, transform]);
}, [setElements, transform]);

const onAdd = useCallback(() => {
const newNode = {
Expand Down

0 comments on commit be5cacc

Please sign in to comment.