actually call the callback
All checks were successful
deploy / deploy (push) Successful in 59s

This commit is contained in:
Lee 2023-10-23 11:12:32 +01:00
parent 48434de1c2
commit 26a4d3ef2a

@ -141,6 +141,9 @@ export const useScoresaberScoresStore = create<ScoreSaberScoresStore>()(
break;
}
// Call the callback if it exists
callback?.(page, newScores.pageInfo.totalPages);
if (mostRecentScoreId) {
// remove the old score
const oldScoreIndex = oldScores.findIndex(