mirror of
https://github.com/umami-software/umami.git
synced 2026-02-10 23:57:12 +01:00
Comments fixed
This commit is contained in:
parent
d6d1c68e6d
commit
d5e4914153
2 changed files with 24 additions and 24 deletions
|
|
@ -6,7 +6,7 @@ import useFetch from 'hooks/useFetch';
|
|||
|
||||
export default function SharePage() {
|
||||
const router = useRouter();
|
||||
const { id, frame } = router.query;
|
||||
const { id } = router.query;
|
||||
const shareId = id?.[0];
|
||||
const { data } = useFetch(shareId ? `/api/share/${shareId}` : null);
|
||||
|
||||
|
|
@ -15,7 +15,7 @@ export default function SharePage() {
|
|||
}
|
||||
|
||||
return (
|
||||
<Layout header={!frame} footer={!frame}>
|
||||
<Layout>
|
||||
<WebsiteDetails websiteId={data.website_id} />
|
||||
</Layout>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue