mirror of
https://github.com/umami-software/umami.git
synced 2026-02-08 22:57:12 +01:00
Fix CSS. Updated pages.
This commit is contained in:
parent
0f12226401
commit
3720a5a2fc
12 changed files with 71 additions and 71 deletions
13
src/app/share/[...id]/Share.js
Normal file
13
src/app/share/[...id]/Share.js
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
'use client';
|
||||
import WebsiteDetails from 'app/(app)/websites/[id]/WebsiteDetails';
|
||||
import useShareToken from 'components/hooks/useShareToken';
|
||||
|
||||
export default function ({ shareId }) {
|
||||
const shareToken = useShareToken(shareId);
|
||||
|
||||
if (!shareToken) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return <WebsiteDetails websiteId={shareToken.websiteId} />;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue