Updated handling of env vars.

This commit is contained in:
Mike Cao committed 2024-05-11 21:52:40 -07:00
1 parent abd0913e9b
commit 30c1933718
8 files changed
+192 -155

No files matched your search

+4
View File
@@ -5,6 +5,10 @@ import Page from 'components/layout/Page';
import styles from './layout.module.css';
export default function ({ children }) {
if (process.env.DISABLE_UI) {
return null;
}
return (
<App>
<main className={styles.layout}>