fix(asset): wideSVG is refusing to exist, use legacy loading mechanism

This commit is contained in:
Paul
2021-10-23 16:42:04 +01:00
parent 33d9100e0f
commit 857e3a82dd
5 changed files with 16 additions and 19 deletions

View File

@@ -4,6 +4,7 @@ import styles from "./Onboarding.module.scss";
import { Text } from "preact-i18n";
import { useState } from "preact/hooks";
import wideSVG from "../../../../public/assets/wide.svg";
import Button from "../../../components/ui/Button";
import Preloader from "../../../components/ui/Preloader";
@@ -40,7 +41,7 @@ export function OnboardingModal({ onClose, callback }: Props) {
<h1>
<Text id="app.special.modals.onboarding.welcome" />
<br />
<img src={"/assets/svg/wide.svg"} loading="eager" />
<img src={wideSVG} loading="eager" />
</h1>
</div>
<div className={styles.form}>