mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 02:13:33 +00:00
Persist lyrics queries in indexeddb
This commit is contained in:
parent
adfa748bfb
commit
ee83fdba71
6 changed files with 138 additions and 32 deletions
|
|
@ -208,7 +208,7 @@ export const queryKeys: Record<
|
|||
return [serverId, 'songs', 'list'] as const;
|
||||
},
|
||||
lyrics: (serverId: string, query?: LyricsQuery) => {
|
||||
if (query) return [serverId, 'song', 'lyrics', query] as const;
|
||||
if (query) return [serverId, 'song', 'lyrics', 'select', query] as const;
|
||||
return [serverId, 'song', 'lyrics'] as const;
|
||||
},
|
||||
lyricsByRemoteId: (searchQuery: { remoteSongId: string; remoteSource: LyricSource }) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue