Use native img on table images

This commit is contained in:
jeffvli 2023-01-15 21:03:24 -08:00
parent f7919b296b
commit fcf00b9de1

View file

@ -5,7 +5,6 @@ import { motion } from 'framer-motion';
import { RiAlbumFill } from 'react-icons/ri';
import { generatePath } from 'react-router';
import { Link } from 'react-router-dom';
import { SimpleImg } from 'react-simple-img';
import styled from 'styled-components';
import type { AlbumArtist, Artist } from '/@/renderer/api/types';
import { Text } from '/@/renderer/components/text';
@ -41,10 +40,8 @@ const MetadataWrapper = styled.div`
width: 100%;
`;
const StyledImage = styled(SimpleImg)`
img {
const StyledImage = styled.img`
object-fit: cover;
}
`;
export const CombinedTitleCell = ({ value, rowIndex, node }: ICellRendererParams) => {