Updated handling of env vars.
This commit is contained in:
1 parent
abd0913e9b
commit
30c1933718
8 files changed
+192
-155
No files matched your search
@@ -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}>
|
||||
|
||||
Reference in new issue
Block a user