Skip to content

Commit 3dbb976

Browse files
authored
Merge pull request #26 from NanamiNakano/fix/server-selection
fix: server selection
2 parents 5707c21 + 79f8773 commit 3dbb976

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/editor/editor.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ export default function Editor({ dispatchToast }: { dispatchToast: Function }) {
119119
await onFetchServerSection()
120120
})
121121
}
122-
}, [editorStore.initiator, editorStore.editable])
122+
}, [editorStore.initiator, editorStore.editable, onFetchServerSection])
123123

124124
useEffect(() => {
125125
let ignore = false

0 commit comments

Comments
 (0)