Updated nextjs version
This commit is contained in:
@@ -20,7 +20,7 @@ export async function generateMetadata({ params }: { params: Promise<{ ign: stri
|
||||
return { title: user !== null ? user.name : "Player not found" }
|
||||
}
|
||||
|
||||
export default async function PlayerPage({ params }: { params: Promise<{ ign: string }> }) {
|
||||
export default async function PlayerPage({ params }: PageProps<"/player/[ign]">) {
|
||||
const { ign } = await params
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user