diff --git a/src/components/viewtypes/ListViewTable.tsx b/src/components/viewtypes/ListViewTable.tsx index 63914dd..9b1a706 100644 --- a/src/components/viewtypes/ListViewTable.tsx +++ b/src/components/viewtypes/ListViewTable.tsx @@ -31,7 +31,6 @@ import { sortPlayQueue, } from '../../redux/playQueueSlice'; import { - LinkWrapper, SecondaryTextWrapper, StyledCheckbox, StyledIconButton, @@ -764,40 +763,38 @@ const ListViewTable = ({ {i > 0 && ', '} - - { - if (!e.ctrlKey && !e.shiftKey) { - if (artist.id && !isModal) { - history.push(`/library/artist/${artist.id}`); - } else if (artist.id && isModal) { - dispatch( - addModalPage({ - pageType: 'artist', - id: artist.id, - }) - ); - } + { + if (!e.ctrlKey && !e.shiftKey) { + if (artist.id && !isModal) { + history.push(`/library/artist/${artist.id}`); + } else if (artist.id && isModal) { + dispatch( + addModalPage({ + pageType: 'artist', + id: artist.id, + }) + ); } - }} - style={{ - fontSize: `${fontSize}px`, - }} - playing={ - (rowData.uniqueId === playQueue?.currentSongUniqueId && - nowPlaying) || - (!nowPlaying && - rowData.id === playQueue?.currentSongId && - playQueue?.currentSongId) - ? 'true' - : 'false' } - > - {artist.title} - - + }} + style={{ + fontSize: `${fontSize}px`, + }} + playing={ + (rowData.uniqueId === playQueue?.currentSongUniqueId && + nowPlaying) || + (!nowPlaying && + rowData.id === playQueue?.currentSongId && + playQueue?.currentSongId) + ? 'true' + : 'false' + } + > + {artist.title} + ))}