No reason to use the Image component here
This commit is contained in:
parent
a3ea88a5b9
commit
e4a02dea91
@ -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>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user