File tree Expand file tree Collapse file tree
frontend/src/ts/components/pages/leaderboard Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import { showSimpleModal } from "../../../states/simple-modal";
66import { cn } from "../../../utils/cn" ;
77import { Button } from "../../common/Button" ;
88import { LoadingCircle } from "../../common/LoadingCircle" ;
9- import { PageIndicator } from "./PageIndicator" ;
109
1110export function Navigation ( props : {
1211 lastPage : number ;
@@ -29,7 +28,6 @@ export function Navigation(props: {
2928 < Show when = { props . isLoading } >
3029 < LoadingCircle color = "sub" class = "text-2xl" />
3130 </ Show >
32- < PageIndicator currentPage = { props . currentPage } />
3331 < Button
3432 onClick = { ( ) => props . onPageChange ( 0 ) }
3533 fa = { { icon : "fa-crown" , fixedWidth : true } }
@@ -98,7 +96,10 @@ export function Navigation(props: {
9896 fa = { { icon : "fa-hashtag" , fixedWidth : true } }
9997 class = { buttonClass }
10098 disabled = { props . lastPage <= 1 }
101- />
99+ >
100+ { " " }
101+ { props . currentPage + 1 }
102+ </ Button >
102103 < Button
103104 onClick = { ( ) => props . onPageChange ( ( old ) => old + 1 ) }
104105 fa = { { icon : "fa-chevron-right" , fixedWidth : true } }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments