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
fix: enable strict mode (#3321)
Alex Yang27edd7cd930d
diff --git a/apps/core/src/index.tsx b/apps/core/src/index.tsxindex 741c8e61fd..32c239e13d 100644--- a/apps/core/src/index.tsx+++ b/apps/core/src/index.tsx@@ -1,4 +1,5 @@import { assertExists } from '@blocksuite/global/utils';+import { StrictMode } from 'react';import { createRoot } from 'react-dom/client';async function main() {@@ -7,7 +8,11 @@ async function main() {const root = document.getElementById('app');assertExists(root);- createRoot(root).render(<App />);+ createRoot(root).render(+ <StrictMode>+ <App />+ </StrictMode>+ );}await main();