Changed route ids to be more explicit.

This commit is contained in:
Mike Cao 2024-01-29 14:47:52 -08:00
parent 1a70350936
commit 18e36aa7b3
105 changed files with 86 additions and 76 deletions

View file

@ -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';

View file

@ -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 = {