Use native img on table images
This commit is contained in:
parent
f7919b296b
commit
fcf00b9de1
1 changed files with 2 additions and 5 deletions
|
@ -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) => {
|
||||
|
|
Reference in a new issue