Default

Function: default()

function default(props): Promise<Element>

Defined in: src/app/PublicLeaderboard/page.tsx:13

PublicLeaderboardPage component that fetches the leaderboard data for a specific period

Parameters

props

The properties passed to the component.

searchParams

Promise<{ periodName?: string; theme?: "light" | "dark"; }>

The search parameters from the URL.

Returns

Promise<Element>

A JSX element representing the public leaderboard page.