Changed route ids to be more explicit.

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

No files matched your search

File renamed without changes.
File renamed without changes.
@@ -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 = {