refactor: move init function to store as setState

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-11-25 15:21:36 +01:00
parent 5ffeb928ae
commit 1ce41ccd40
3 changed files with 31 additions and 22 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ export interface FlowActions {
updateSize: (size: Dimensions) => void
setConnectionNodeId: (payload: SetConnectionId) => void
setInteractive: (isInteractive: boolean) => void
addElements: (elements: Elements) => Promise<void>
addElements: (elements: Elements) => void
}
export interface FlowGetters {