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: warning judgement error

QiShaoXuan00db944192b3
diff --git a/packages/app/src/components/Header/utils.tsx b/packages/app/src/components/Header/utils.tsx
index b90cf011f5..b93cacef93 100644
--- a/packages/app/src/components/Header/utils.tsx
+++ b/packages/app/src/components/Header/utils.tsx
@@ -13,7 +13,7 @@ const minimumChromeVersion = 102;
export const shouldShowWarning = () => {
return (
- !getIsMobile &&
+ !getIsMobile() &&
(!getIsChrome() || getChromeVersion() < minimumChromeVersion)
);
};