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
chore: change default outline workspace name
QiShaoXuand43bdb7aa91e
diff --git a/packages/app/src/hooks/use-ensure-workspace.ts b/packages/app/src/hooks/use-ensure-workspace.tsindex a340b78a48..d20c63b05f 100644--- a/packages/app/src/hooks/use-ensure-workspace.ts+++ b/packages/app/src/hooks/use-ensure-workspace.ts@@ -1,8 +1,8 @@import { useState, useEffect } from 'react';import { useAppState } from '@/providers/app-state-provider';import { useRouter } from 'next/router';-const defaultOutLineWorkspaceId =- 'local-first-' + '85b4ca0b9081421d903bbc2501ea280f';+const defaultOutLineWorkspaceId = 'affine';+// 'local-first-' + '85b4ca0b9081421d903bbc2501ea280f';// It is a fully effective hook// Cause it not just ensure workspace loaded, but also have router change.export const useEnsureWorkspace = () => {