mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-16 05:47:09 +08:00
feat: enable workspace cloud
This commit is contained in:
@@ -11,6 +11,7 @@ export const WorkspaceIndex = () => {
|
||||
|
||||
useEffect(() => {
|
||||
if (workspaceLoaded) {
|
||||
console.log('workspaceLoaded: ', workspaceLoaded);
|
||||
router.push(`/workspace/${currentWorkspaceId}`);
|
||||
}
|
||||
}, [currentWorkspaceId, router, workspaceLoaded]);
|
||||
|
||||
Reference in New Issue
Block a user