mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-06 17:11:55 +00:00
fix(asset): wideSVG is refusing to exist, use legacy loading mechanism
This commit is contained in:
@@ -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}>
|
||||
|
||||
Reference in New Issue
Block a user