Skip to content

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.

fix: consistent return

alt09674229e8e9f
diff --git a/libs/components/layout/src/header/LayoutHeader.tsx b/libs/components/layout/src/header/LayoutHeader.tsx
index 509df650ed..51650d28d8 100644
--- a/libs/components/layout/src/header/LayoutHeader.tsx
+++ b/libs/components/layout/src/header/LayoutHeader.tsx
@@ -37,6 +37,7 @@ export const LayoutHeader = () => {
observer.disconnect();
};
}
+ return undefined;
}, [rootEle]);
const warningTips = useMemo(() => {