This commit is contained in:
IndieKKY
2024-10-05 21:17:26 +08:00
parent 4f03e75b6d
commit c71e8e2eab
4 changed files with 11 additions and 4 deletions

View File

@@ -22,7 +22,7 @@ function App() {
const foldCallback = useCallback(() => {
dispatch(setFold(!fold))
sendInject(MESSAGE_TO_INJECT_FOLD, {fold: !fold})
}, [dispatch, fold])
}, [dispatch, fold, sendInject])
// handle event
eventBus.useSubscription((event: any) => {