refactor(store): use null instead of undefined for optional state properties

* remove setConnectionNodeId action
This commit is contained in:
Braks
2022-04-04 21:42:48 +02:00
parent 188156dd0b
commit 728046505c
13 changed files with 119 additions and 99 deletions
+2
View File
@@ -21,6 +21,8 @@ const props = withDefaults(defineProps<FlowProps>(), {
paneMovable: undefined,
applyDefault: undefined,
fitViewOnInit: undefined,
zoomActivationKeyCode: () => null,
connectionLineStyle: () => null,
})
const emit = defineEmits([...Object.keys(createHooks()), 'update:modelValue', 'update:edges', 'update:nodes'])