mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-22 20:41:50 +08:00
chore: fix most warnings and ignore a few warnings, because the code quality is too bad
This commit is contained in:
@@ -28,7 +28,7 @@ export const useInitWorkspace = (disabled?: boolean) => {
|
||||
loadWorkspace(workspaceId).finally(() => {
|
||||
setLoading(false);
|
||||
});
|
||||
}, [workspaceId, disabled]);
|
||||
}, [workspaceId, disabled, loadWorkspace]);
|
||||
|
||||
return {
|
||||
workspaceId,
|
||||
|
||||
Reference in New Issue
Block a user