Fix clear, clean up

This commit is contained in:
jeffvli 2023-08-04 12:29:55 -07:00
parent f6d239d87c
commit 1327d58b23
3 changed files with 1 additions and 12 deletions

View file

@ -1,7 +1,6 @@
import { useCallback, useEffect, useState } from 'react';
import { Center, Group } from '@mantine/core';
import { AnimatePresence, motion } from 'framer-motion';
import { clear } from 'idb-keyval';
import { ErrorBoundary } from 'react-error-boundary';
import { RiInformationFill } from 'react-icons/ri';
import styled from 'styled-components';
@ -162,7 +161,7 @@ export const Lyrics = () => {
const isLoadingLyrics = isInitialLoading || isOverrideLoading;
const hasNoLyrics = !data?.lyrics || clear;
const hasNoLyrics = !data?.lyrics;
const lyricsMetadata:
| Partial<SynchronizedLyricMetadata>