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.

chore: login condition

DarkSkyd8b176a32923
diff --git a/libs/components/account/src/login/index.tsx b/libs/components/account/src/login/index.tsx
index e29b84f12e..82f460c786 100644
--- a/libs/components/account/src/login/index.tsx
+++ b/libs/components/account/src/login/index.tsx
@@ -49,14 +49,14 @@ export function Login() {
width: '100px',
}}
/>
- {/* {((process.env['NX_LOCAL'] || true) && ( */}
- <FileSystem onError={onError} />
- {/* )) ||
- null}
- {((!process.env['NX_LOCAL'] || true) && ( */}
- <Firebase onError={onError} />
- {/* )) ||
- null} */}{' '}
+ {(process.env['NX_LOCAL'] && (
+ <FileSystem onError={onError} />
+ )) ||
+ null}
+ {(!process.env['NX_LOCAL'] && (
+ <Firebase onError={onError} />
+ )) ||
+ null}
</MuiBox>
</MuiGrid>
</MuiGrid>