mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-02 10:53:33 +00:00
Fix clear, clean up
This commit is contained in:
parent
f6d239d87c
commit
1327d58b23
3 changed files with 1 additions and 12 deletions
|
|
@ -93,8 +93,6 @@ export const useSongLyricsBySong = (
|
|||
if (!server) throw new Error('Server not found');
|
||||
if (!song) return null;
|
||||
|
||||
console.log('refetching song lyrics');
|
||||
|
||||
if (song.lyrics) {
|
||||
return {
|
||||
artist: song.artists?.[0]?.name,
|
||||
|
|
@ -166,11 +164,6 @@ export const useSongLyricsByRemoteId = (
|
|||
source: query.remoteSource,
|
||||
};
|
||||
|
||||
console.log(
|
||||
'queryKeys.songs.lyrics(serverId, { songId: query.song.id }) :>> ',
|
||||
queryKeys.songs.lyrics(serverId, { songId: query.song.id }),
|
||||
);
|
||||
|
||||
queryClient.setQueryData(
|
||||
queryKeys.songs.lyrics(serverId, { songId: query.song.id }),
|
||||
lyricsResult,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue