diff --git a/packages/app/app/components/LyricsView/index.tsx b/packages/app/app/components/LyricsView/index.tsx index ad258d8b35..a086114a79 100644 --- a/packages/app/app/components/LyricsView/index.tsx +++ b/packages/app/app/components/LyricsView/index.tsx @@ -1,5 +1,4 @@ import React from 'react'; -import _ from 'lodash'; import { Icon } from 'semantic-ui-react'; import { useTranslation } from 'react-i18next'; @@ -21,7 +20,7 @@ export const LyricsView: React.FC = ({ track }) => { const { t } = useTranslation('lyrics'); - let lyricsStr = _.get(lyricsSearchResults, 'type', ''); + let lyricsStr = lyricsSearchResults?.type ?? ''; if (lyricsStr === '') { lyricsStr = t('not-found'); }