mirror of
https://github.com/umami-software/umami.git
synced 2026-02-11 08:07:12 +01:00
Changed route ids to be more explicit.
This commit is contained in:
parent
1a70350936
commit
18e36aa7b3
105 changed files with 86 additions and 76 deletions
|
|
@ -1,5 +1,5 @@
|
|||
'use client';
|
||||
import WebsiteDetails from 'app/(main)/websites/[id]/WebsiteDetails';
|
||||
import WebsiteDetails from '../../(main)/websites/[websiteId]/WebsiteDetails';
|
||||
import { useShareToken } from 'components/hooks';
|
||||
import styles from './Share.module.css';
|
||||
import Page from 'components/layout/Page';
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
import Share from './Share';
|
||||
import { Metadata } from 'next';
|
||||
|
||||
export default function ({ params: { id } }) {
|
||||
return <Share shareId={id[0]} />;
|
||||
export default function ({ params: { shareId } }) {
|
||||
return <Share shareId={shareId[0]} />;
|
||||
}
|
||||
|
||||
export const metadata: Metadata = {
|
||||
Loading…
Add table
Add a link
Reference in a new issue