refactor(store): use null instead of undefined for optional state properties
* remove setConnectionNodeId action
This commit is contained in:
@@ -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'])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user