Refactored to use app folder.

This commit is contained in:
Mike Cao 2023-09-29 05:29:22 -07:00
parent 40cfcd41e9
commit 9a52cdd2e1
258 changed files with 2025 additions and 2258 deletions

View file

@ -0,0 +1,15 @@
import TestConsole from '../TestConsole';
async function getEnabled() {
return !!process.env.ENABLE_TEST_CONSOLE;
}
export default async function ConsolePage() {
const enabled = await getEnabled();
if (!enabled) {
return null;
}
return <TestConsole />;
}