feat: enable workspace cloud

This commit is contained in:
DiamondThree
2023-01-10 20:08:31 +08:00
parent 8f18048254
commit 3be4e4015e
4 changed files with 5 additions and 1 deletions

View File

@@ -11,6 +11,7 @@ export const WorkspaceIndex = () => {
useEffect(() => {
if (workspaceLoaded) {
console.log('workspaceLoaded: ', workspaceLoaded);
router.push(`/workspace/${currentWorkspaceId}`);
}
}, [currentWorkspaceId, router, workspaceLoaded]);