add optimistic update for favorite/ratings mutations

This commit is contained in:
jeffvli
2025-11-23 03:40:53 -08:00
parent 0bc3ea51ec
commit 84419820b8
19 changed files with 975 additions and 324 deletions
@@ -121,7 +121,7 @@ function useAlbumListInfinite(
},
});
},
queryKey: queryKeys.albums.list(serverId, {
queryKey: queryKeys.albums.infiniteList(serverId, {
sortBy,
sortOrder,
...additionalQuery,