Skip to content

Commit

Permalink
don't call resetPreview() on moveNode
Browse files Browse the repository at this point in the history
  • Loading branch information
jessicamcinchak committed Sep 26, 2023
1 parent 7909fbc commit 54dc317
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion editor.planx.uk/src/pages/FlowEditor/lib/store/editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,6 @@ export const editorStore: StateCreator<
toBefore,
})(get().flow);
send(ops);
get().resetPreview();
} catch (err: any) {
alert(err.message);
}
Expand Down

0 comments on commit 54dc317

Please sign in to comment.