Changed route ids to be more explicit.
This commit is contained in:
15
src/app/(main)/websites/[websiteId]/event-data/page.tsx
Normal file
15
src/app/(main)/websites/[websiteId]/event-data/page.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import WebsiteHeader from '../WebsiteHeader';
|
||||
import WebsiteEventData from './WebsiteEventData';
|
||||
|
||||
export default function WebsiteEventDataPage({ params: { id } }) {
|
||||
if (!id) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return (
|
||||
<>
|
||||
<WebsiteHeader websiteId={id} />
|
||||
<WebsiteEventData websiteId={id} />
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user