Various lyrics improvements

- Update wording on provider fetcher
- Invalidate query on reset instead of resetQuery
This commit is contained in:
jeffvli 2023-08-07 21:59:55 -07:00
parent 59a851f8c8
commit 8686a7c592
4 changed files with 15 additions and 14 deletions

View file

@ -111,7 +111,7 @@ export const Lyrics = () => {
}, []);
const handleOnResetLyric = useCallback(() => {
queryClient.resetQueries({
queryClient.invalidateQueries({
exact: true,
queryKey: queryKeys.songs.lyrics(currentSong?.serverId, { songId: currentSong?.id }),
});