1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-23 00:22:19 +01:00

fix: sloader path (#530)

This commit is contained in:
Fredrik Strand Oseberg 2021-11-26 16:30:39 +01:00 committed by GitHub
parent 3bd373002e
commit 710b689490

View File

@ -1,4 +1,5 @@
import logo from '../../../assets/img/unleash_logo_icon_dark _ alpha.gif';
import { formatAssetPath } from '../../../utils/format-path';
import { useStyles } from './Loader.styles';
const Loader = () => {
@ -6,7 +7,11 @@ const Loader = () => {
return (
<div className={styles.loader}>
<img className={styles.img} src={logo} alt="loading..." />
<img
className={styles.img}
src={formatAssetPath(logo)}
alt="loading..."
/>
</div>
);
};