fix: setState syntax error

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-11-25 19:30:19 +01:00
parent e73a55af62
commit 01f5456407
+1 -1
View File
@@ -211,7 +211,7 @@ export default (id: string, preloadedState: FlowState) => {
if (typeof state.multiSelectionKeyCode !== 'undefined') this.multiSelectionKeyCode = state.multiSelectionKeyCode
if (typeof state.snapToGrid !== 'undefined') this.snapToGrid = state.snapToGrid
if (typeof state.snapGrid !== 'undefined') this.snapGrid = state.snapGrid
if (typeof !this.isReady)
if (!this.isReady)
until(() => this.d3Zoom)
.not.toBeUndefined()
.then(() => {