Allow override on songs without default found lyrics

This commit is contained in:
jeffvli 2023-06-09 05:11:22 -07:00 committed by Jeff
parent 762644d23d
commit 77703b904f

View file

@ -139,6 +139,8 @@ export const Lyrics = () => {
const isLoadingLyrics = isInitialLoading || isOverrideLoading;
const hasNoLyrics = (!data?.lyrics && !overrideLyrics) || clear;
const lyricsMetadata:
| Partial<SynchronizedLyricMetadata>
| Partial<UnsynchronizedLyricMetadata>
@ -164,7 +166,7 @@ export const Lyrics = () => {
/>
) : (
<AnimatePresence mode="sync">
{!data?.lyrics || clear ? (
{hasNoLyrics ? (
<Center w="100%">
<Group>
<RiInformationFill size="2rem" />