This commit is contained in:
parent
48434de1c2
commit
26a4d3ef2a
@ -141,6 +141,9 @@ export const useScoresaberScoresStore = create<ScoreSaberScoresStore>()(
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Call the callback if it exists
|
||||||
|
callback?.(page, newScores.pageInfo.totalPages);
|
||||||
|
|
||||||
if (mostRecentScoreId) {
|
if (mostRecentScoreId) {
|
||||||
// remove the old score
|
// remove the old score
|
||||||
const oldScoreIndex = oldScores.findIndex(
|
const oldScoreIndex = oldScores.findIndex(
|
||||||
|
Loading…
Reference in New Issue
Block a user