Small change
This commit is contained in:
@@ -67,7 +67,7 @@ function SortableStatItem({ id, children }: SortableStatItemProps) {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
export default function PlayerStats(
|
export function PlayerStats(
|
||||||
{ stats, achievements, layout }: {
|
{ stats, achievements, layout }: {
|
||||||
stats: NonNullable<Player["player"]["stats"]>
|
stats: NonNullable<Player["player"]["stats"]>
|
||||||
achievements: Player["player"]["achievements"]
|
achievements: Player["player"]["achievements"]
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ import { Metadata } from "next"
|
|||||||
import { cookies } from "next/headers"
|
import { cookies } from "next/headers"
|
||||||
import { Suspense } from "react"
|
import { Suspense } from "react"
|
||||||
import z from "zod"
|
import z from "zod"
|
||||||
import PlayerStats, { PlayerPageLoadText } from "./_client"
|
import { PlayerPageLoadText, PlayerStats } from "./_client"
|
||||||
import Sidebar from "./_components/Sidebar"
|
import Sidebar from "./_components/Sidebar"
|
||||||
|
|
||||||
export async function generateMetadata({ params }: { params: Promise<{ ign: string }> }): Promise<Metadata> {
|
export async function generateMetadata({ params }: { params: Promise<{ ign: string }> }): Promise<Metadata> {
|
||||||
|
|||||||
Reference in New Issue
Block a user