Skip to content

Commit f627dd1

Browse files
committed
Remove unused imports
1 parent 6f31c87 commit f627dd1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ValueNodeWrapper.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export const ValueNodeWrapper: React.FC<ValueNodeProps> = (props) => {
4747
customNodeDefinitions,
4848
} = props
4949
const { getStyles } = useTheme()
50-
const { currentlyEditingElement, setCurrentlyEditingElement, setCollapseState } = useTreeState()
50+
const { setCurrentlyEditingElement, setCollapseState } = useTreeState()
5151
const [value, setValue] = useState<typeof data | CollectionData>(
5252
// Bad things happen when you put a function into useState
5353
typeof data === 'function' ? INVALID_FUNCTION_STRING : data

src/useDragNDrop.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const useDragNDrop = ({
3232
translate,
3333
}: DnDProps) => {
3434
const { getStyles } = useTheme()
35-
const { currentlyEditingElement, dragSource, setDragSource } = useTreeState()
35+
const { dragSource, setDragSource } = useTreeState()
3636
const [isDragTarget, setIsDragTarget] = useState<Position | false>(false)
3737

3838
const pathString = toPathString(path)

0 commit comments

Comments
 (0)