Skip to content

Commit 80a46cc

Browse files
committed
extra dependency removed
1 parent 46c6887 commit 80a46cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/packages/lowcoder/src/comps/comps/jsonComp/jsonEditorComp.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ let JsonEditorTmpComp = (function () {
110110
extensions,
111111
});
112112
}
113-
}, [wrapperRef.current, props.showVerticalScrollbar]);
114-
113+
}, [wrapperRef.current]);
114+
115115
useEffect(() => {
116116
if (state.current&&wrapperRef.current) {
117117
view.current = new EditorView({ state: state.current, parent: wrapperRef.current });

0 commit comments

Comments
 (0)