fix: fix a bug when using nested node views in react, fix #1747
This commit is contained in:
@@ -2,6 +2,7 @@ import { createContext, useContext } from 'react'
|
||||
|
||||
export interface ReactNodeViewContextProps {
|
||||
onDragStart: (event: DragEvent) => void,
|
||||
maybeMoveContentDOM: () => void,
|
||||
}
|
||||
|
||||
export const ReactNodeViewContext = createContext<Partial<ReactNodeViewContextProps>>({
|
||||
|
||||
Reference in New Issue
Block a user