Skip to content

Commit 95bfff5

Browse files
committed
fix: updating localStorage
Signed-off-by: Vladimir Zaikin <friend.zva@yandex.ru>
1 parent 3db5d52 commit 95bfff5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

INflow/src/flows/MainFlow.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ export default (): JSX.Element => {
7070
const isRunningLayout = isRunningLayouts[indexNet];
7171
const setIsRunningLayout = (value: boolean) => {
7272
setIsRunningLayouts(flags => [value, flags[1]]);
73+
if (!value) updateLocalStorage(nodes, edges, fileOpened);
7374
};
7475

7576
// Add and edit net

0 commit comments

Comments
 (0)