mirror of
https://github.com/ershisan99/www.git
synced 2025-12-17 21:09:22 +00:00
wip
This commit is contained in:
@@ -16,14 +16,12 @@ export default async function Home() {
|
||||
}),
|
||||
])
|
||||
if (session?.user) {
|
||||
console.log('user', session.user)
|
||||
// void api.post.getLatest.prefetch()
|
||||
}
|
||||
|
||||
return (
|
||||
<HydrateClient>
|
||||
<Suspense>
|
||||
<UserStats />
|
||||
{/*<UserStats/>*/}
|
||||
<LeaderboardPage />
|
||||
</Suspense>
|
||||
</HydrateClient>
|
||||
|
||||
@@ -450,7 +450,7 @@ export function UserInfo() {
|
||||
<div className='grid grid-cols-1 gap-6 md:grid-cols-2'>
|
||||
{(rankedLeaderboard || lastGameLeaderboard1) && (
|
||||
<LeaderboardStatsCard
|
||||
title='Leaderboard 1 Stats'
|
||||
title='Ranked Queue Stats'
|
||||
rank={rankedUserRank?.rank}
|
||||
mmr={
|
||||
lastGameLeaderboard1
|
||||
@@ -467,7 +467,7 @@ export function UserInfo() {
|
||||
|
||||
{(vanillaLeaderboard || lastGameLeaderboard2) && (
|
||||
<LeaderboardStatsCard
|
||||
title='Leaderboard 2 Stats'
|
||||
title='Vanilla Queue Stats'
|
||||
rank={vanillaUserRank?.rank}
|
||||
mmr={
|
||||
lastGameLeaderboard2
|
||||
|
||||
Reference in New Issue
Block a user