chore: remove default data value from default nodes
This commit is contained in:
@@ -4,7 +4,6 @@ import { Position } from '../../types'
|
||||
import type { NodeProps } from '../../types/node'
|
||||
|
||||
const props = withDefaults(defineProps<NodeProps>(), {
|
||||
data: () => {},
|
||||
connectable: false,
|
||||
sourcePosition: 'bottom' as Position,
|
||||
targetPosition: 'top' as Position,
|
||||
|
||||
@@ -4,7 +4,6 @@ import { Position } from '../../types'
|
||||
import type { NodeProps } from '../../types/node'
|
||||
|
||||
const props = withDefaults(defineProps<NodeProps>(), {
|
||||
data: () => {},
|
||||
connectable: false,
|
||||
sourcePosition: 'bottom' as Position,
|
||||
})
|
||||
|
||||
@@ -4,7 +4,6 @@ import { Position } from '../../types'
|
||||
import type { NodeProps } from '../../types/node'
|
||||
|
||||
const props = withDefaults(defineProps<NodeProps>(), {
|
||||
data: () => {},
|
||||
connectable: false,
|
||||
targetPosition: 'top' as Position,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user