rename archive page component
This commit is contained in:
@@ -35,7 +35,7 @@ export async function generateMetadata({ params }: { params: { id: number } }) {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
export default async function Game({ params }: { params: { id: number } }) {
|
export default async function Archive({ params }: { params: { id: number } }) {
|
||||||
const game = (await getArchivedGame({ id: params.id })) as Game | undefined;
|
const game = (await getArchivedGame({ id: params.id })) as Game | undefined;
|
||||||
if (!game) {
|
if (!game) {
|
||||||
notFound();
|
notFound();
|
||||||
|
|||||||
Reference in New Issue
Block a user