There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
Merge branch 'feat/datacenter' of https://github.com/toeverything/AFFiNE into feat/datacenter
DiamondThreef1ea2ee691aa
diff --cc packages/app/src/hooks/use-ensure-workspace.tsindex 93140dd923,03d50f26fa..ce1fed0741--- a/packages/app/src/hooks/use-ensure-workspace.ts+++ b/packages/app/src/hooks/use-ensure-workspace.ts@@@ -35,12 -33,10 +33,11 @@@ export const useEnsureWorkspace = () =// return;// }- const workspaceId = user- ? (router.query.workspaceId as string) || workspaceList[0]?.id- : (router.query.workspaceId as string) || defaultOutLineWorkspaceId;+ const workspaceId =+ (router.query.workspaceId as string) || workspaceList[0]?.id;loadWorkspace(workspaceId).finally(() => {+ console.log('workspaceId: ', workspaceId);setWorkspaceLoaded(true);});}, [loadWorkspace, router, user, workspaceList]);