fix: setState syntax error
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user