Skip to content

Commit

Permalink
⚡️ keep Leaderboard mounted when switching tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
dxanh97 committed Dec 14, 2024
1 parent 00fbbdf commit 642cb0b
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/pages/game-screen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,7 @@ function GameScreenPage() {
<SortPlayerOrder gameId={game.id} />
</TopNav>

<Tabs
variant="pills"
radius="xl"
defaultValue="1"
mt="sm"
keepMounted={false}
>
<Tabs variant="pills" radius="xl" defaultValue="1" mt="sm">
<Tabs.List grow>
<Tabs.Tab value="1">Danh Sách Ván</Tabs.Tab>
<Tabs.Tab value="2">Bảng Xếp Hạng</Tabs.Tab>
Expand Down

0 comments on commit 642cb0b

Please sign in to comment.