mirror of
https://github.com/umami-software/umami.git
synced 2026-02-10 07:37:11 +01:00
Removed naming from index pages.
This commit is contained in:
parent
6b69f69c08
commit
4e6d24e932
24 changed files with 81 additions and 63 deletions
|
|
@ -1,9 +1,9 @@
|
|||
import { useRouter } from 'next/router';
|
||||
import ShareLayout from 'components/layout/ShareLayout';
|
||||
import WebsiteDetails from 'components/pages/websites/WebsiteDetails';
|
||||
import WebsiteDetailsPage from 'components/pages/websites/WebsiteDetailsPage';
|
||||
import useShareToken from 'hooks/useShareToken';
|
||||
|
||||
export default function SharePage() {
|
||||
export default function () {
|
||||
const router = useRouter();
|
||||
const { id } = router.query;
|
||||
const shareId = id?.[0];
|
||||
|
|
@ -15,7 +15,7 @@ export default function SharePage() {
|
|||
|
||||
return (
|
||||
<ShareLayout>
|
||||
<WebsiteDetails websiteId={shareToken.websiteId} />
|
||||
<WebsiteDetailsPage websiteId={shareToken.websiteId} />
|
||||
</ShareLayout>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue