Implemented guild page
This commit is contained in:
@@ -18,7 +18,7 @@ import Sidebar from "./_components/Sidebar"
|
||||
export async function generateMetadata({ params }: { params: Promise<{ ign: string }> }): Promise<Metadata> {
|
||||
const { ign } = await params
|
||||
const user = await getUuid(ign)
|
||||
return { title: user !== null ? user.name : "Player not found" }
|
||||
return { title: user !== null ? `${user.name}'s Stats` : "Player not found" }
|
||||
}
|
||||
|
||||
export default function PlayerPage({ params }: PageProps<"/player/[ign]">) {
|
||||
|
||||
Reference in New Issue
Block a user