mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +02:00
Fix clear, clean up
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user