Removed naming from index pages.

This commit is contained in:
Mike Cao 2023-07-10 00:33:30 -07:00
parent 6b69f69c08
commit 4e6d24e932
24 changed files with 81 additions and 63 deletions

View file

@ -0,0 +1,18 @@
import { useRouter } from 'next/router';
import AppLayout from 'components/layout/AppLayout';
import RealtimeDashboard from 'components/pages/realtime/RealtimeDashboard';
export default function () {
const router = useRouter();
const { id: websiteId } = router.query;
if (!websiteId) {
return null;
}
return (
<AppLayout>
<RealtimeDashboard websiteId={websiteId} />
</AppLayout>
);
}