From c28376950df92961b9bb1d64754c46e9582f5b23 Mon Sep 17 00:00:00 2001 From: Braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Mon, 20 Dec 2021 17:15:11 +0100 Subject: [PATCH] refactor(flow)!: make opts for useElementsState optional Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com> --- src/composables/useElementsState.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/composables/useElementsState.ts b/src/composables/useElementsState.ts index 400b98bf..28d9659f 100644 --- a/src/composables/useElementsState.ts +++ b/src/composables/useElementsState.ts @@ -113,7 +113,7 @@ export const useNodesState = ({ nodes, options }: UseNodesStateOptions = {}): Us } } -export const useElementsState = ({ edges, nodes, options }: UseElementsStateOptions): UseElementsState => { +export const useElementsState = ({ edges, nodes, options }: UseElementsStateOptions = {}): UseElementsState => { const nodesState = useNodesState({ nodes, options }) const edgesState = useEdgesState({ edges, options })