mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-15 01:35:17 +01:00
16 lines
355 B
JavaScript
16 lines
355 B
JavaScript
|
import React from 'react';
|
||
|
import { useRouter } from 'next/router';
|
||
|
import Layout from 'components/Layout';
|
||
|
import WebsiteDetails from '../components/WebsiteDetails';
|
||
|
|
||
|
export default function DetailsPage() {
|
||
|
const router = useRouter();
|
||
|
const { id } = router.query;
|
||
|
|
||
|
return (
|
||
|
<Layout>
|
||
|
<WebsiteDetails websiteId={id} />
|
||
|
</Layout>
|
||
|
);
|
||
|
}
|