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