diff --git a/src/store/scoresaberScoresStore.ts b/src/store/scoresaberScoresStore.ts index e7958b7..7a9b4c2 100644 --- a/src/store/scoresaberScoresStore.ts +++ b/src/store/scoresaberScoresStore.ts @@ -141,6 +141,9 @@ export const useScoresaberScoresStore = create()( break; } + // Call the callback if it exists + callback?.(page, newScores.pageInfo.totalPages); + if (mostRecentScoreId) { // remove the old score const oldScoreIndex = oldScores.findIndex(