No reason to use the Image component here

This commit is contained in:
Gabe Kangas 2023-01-08 20:03:06 -08:00
parent a3ea88a5b9
commit e4a02dea91
No known key found for this signature in database
GPG Key ID: 4345B2060657F330

View File

@ -1,4 +1,3 @@
import { Image } from 'antd';
import { FC } from 'react';
import styles from './Logo.module.scss';
@ -9,7 +8,7 @@ export type LogoProps = {
export const Logo: FC<LogoProps> = ({ src }) => (
<div className={styles.root}>
<div className={styles.container}>
<Image src={src} alt="Logo" className={styles.image} rootClassName={styles.image} />
<img src={src} alt="Logo" className={styles.image} loading="lazy" />
</div>
</div>
);