Fixed 'use client' usage.

This commit is contained in:
Mike Cao 2024-02-05 23:59:33 -08:00
parent be5592446a
commit f7151a880e
208 changed files with 323 additions and 385 deletions

View file

@ -1,5 +1,5 @@
import TestConsole from '../TestConsole';
import { Metadata } from 'next';
import ConsolePage from '../ConsolePage';
async function getEnabled() {
return !!process.env.ENABLE_TEST_CONSOLE;
@ -12,7 +12,7 @@ export default async function ({ params: { websiteId } }) {
return null;
}
return <TestConsole websiteId={websiteId?.[0]} />;
return <ConsolePage websiteId={websiteId?.[0]} />;
}
export const metadata: Metadata = {