Skip to content

Commit

Permalink
Merge pull request #282 from elmadev/dev
Browse files Browse the repository at this point in the history
Live release 1 jan 2025
  • Loading branch information
sunehs authored Jan 1, 2025
2 parents 88fd784 + f6cb5ce commit 39b23a9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/features/LevelList/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,11 @@ export default function LevelList({
<SortPagination>
<TablePagination
component="div"
count={-1}
count={
levels.rows.length < pageSize
? pageSize * page + levels.rows.length
: -1
}
rowsPerPageOptions={false}
rowsPerPage={pageSize}
page={page}
Expand Down
3 changes: 2 additions & 1 deletion src/pages/recap/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const int = value => {

const Recap = () => {
const [tab, setTab] = useState(nickId() === 0 ? 1 : 0);
const [year, setYear] = useState('2023');
const [year, setYear] = useState('2024');
const container = useRef();
const {
player: { data: playerData, loading: playerLoading },
Expand Down Expand Up @@ -251,6 +251,7 @@ const Recap = () => {
'2021',
'2022',
'2023',
'2024',
]}
/>
) : null}
Expand Down

0 comments on commit 39b23a9

Please sign in to comment.