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:
@@ -10,6 +10,7 @@ import { isTouchscreenDevice } from "../../lib/isTouchscreenDevice";
|
||||
|
||||
import { dispatch, getState } from "../../redux";
|
||||
|
||||
import wideSVG from "../../../../public/assets/wide.svg";
|
||||
import Emoji from "../../components/common/Emoji";
|
||||
import Tooltip from "../../components/common/Tooltip";
|
||||
import Header from "../../components/ui/Header";
|
||||
@@ -66,7 +67,7 @@ export default function Home() {
|
||||
<h3>
|
||||
<Text id="app.special.modals.onboarding.welcome" />
|
||||
<br />
|
||||
<img src={"/assets/svg/wide.svg"} />
|
||||
<img src={wideSVG} />
|
||||
</h3>
|
||||
<div className={styles.actions}>
|
||||
<Link to="/invite/Testers">
|
||||
|
||||
@@ -9,6 +9,7 @@ import { useContext, useState } from "preact/hooks";
|
||||
import { AppContext } from "../../../context/revoltjs/RevoltClient";
|
||||
import { takeError } from "../../../context/revoltjs/util";
|
||||
|
||||
import wideSVG from "../../../../public/assets/wide.svg";
|
||||
import Button from "../../../components/ui/Button";
|
||||
import Overline from "../../../components/ui/Overline";
|
||||
import Preloader from "../../../components/ui/Preloader";
|
||||
@@ -145,7 +146,7 @@ export function Form({ page, callback }: Props) {
|
||||
|
||||
return (
|
||||
<div className={styles.form}>
|
||||
<img src={"/assets/svg/wide.svg"} />
|
||||
<img src={wideSVG} />
|
||||
{/* Preact / React typing incompatabilities */}
|
||||
<form
|
||||
onSubmit={
|
||||
|
||||
Reference in New Issue
Block a user