mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 14:39:34 +01:00
editor: fix recursive updates causing hang
This commit is contained in:
@@ -59,7 +59,7 @@ export const useEditor = (
|
||||
};
|
||||
},
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
[...deps, forceUpdate, options]
|
||||
deps
|
||||
);
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user