update(store): remove promise from setState
* add default values for nodeTypes/edgeTypes - empty array for customs Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -89,7 +89,7 @@ export interface FlowActions {
|
||||
setConnectionNodeId: (payload: SetConnectionId) => void
|
||||
setInteractive: (isInteractive: boolean) => void
|
||||
addElements: (elements: Elements) => void
|
||||
setState: (state: FlowOptions) => Promise<void>
|
||||
setState: (state: FlowOptions) => void
|
||||
}
|
||||
|
||||
export interface FlowGetters {
|
||||
|
||||
Reference in New Issue
Block a user