mirror of
https://github.com/owncast/owncast.git
synced 2024-11-22 12:49:37 +03:00
No reason to use the Image component here
This commit is contained in:
parent
a3ea88a5b9
commit
e4a02dea91
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue