packages/ui/lib/components/AlbumPreview/index.tsx
Function AlbumPreview
has 60 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const AlbumPreview: React.FC<AlbumPreviewProps & Handlers> = (props) => {
const { album, trackButtons, handleAddToQueue, handlePlayAll } = props;
const thumb = _.defaultTo(getThumbnail(album), artPlaceholder);