fix the loading state on listquery add to queue

This commit is contained in:
jeffvli
2025-12-07 02:28:16 -08:00
parent ce7e5ad7ad
commit 8841781e6b
13 changed files with 83 additions and 90 deletions
+5 -1
View File
@@ -266,7 +266,11 @@ export const queryKeys: Record<
list: (serverId: string) => [serverId, 'musicFolders', 'list'] as const,
},
player: {
fetch: () => {
fetch: (meta?: any) => {
if (meta) {
return ['player', 'fetch', meta] as const;
}
return ['player', 'fetch'] as const;
},
},