Updated handling of env vars.

This commit is contained in:
Mike Cao 2024-05-11 21:52:40 -07:00
parent abd0913e9b
commit 30c1933718
8 changed files with 192 additions and 155 deletions

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}>