mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-21 20:16:26 +08:00
fix: lint error and build error
This commit is contained in:
@@ -16,9 +16,7 @@ const WorkspaceIndex = () => {
|
||||
if (!workspaceLoaded) {
|
||||
return;
|
||||
}
|
||||
|
||||
const savedPageId = currentWorkspace?.meta.pageMetas[0]?.id;
|
||||
|
||||
if (savedPageId) {
|
||||
router.replace(`/workspace/${activeWorkspaceId}/${savedPageId}`);
|
||||
return;
|
||||
@@ -34,6 +32,7 @@ const WorkspaceIndex = () => {
|
||||
createPage,
|
||||
router,
|
||||
workspaceLoaded,
|
||||
activeWorkspaceId,
|
||||
]);
|
||||
|
||||
return <PageLoading />;
|
||||
|
||||
Reference in New Issue
Block a user