diff --git a/src/context/intermediate/modals/Onboarding.tsx b/src/context/intermediate/modals/Onboarding.tsx index 8ba29f2c..a6055791 100644 --- a/src/context/intermediate/modals/Onboarding.tsx +++ b/src/context/intermediate/modals/Onboarding.tsx @@ -4,9 +4,9 @@ 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"; +import wideSVG from "/assets/wide.svg"; import FormField from "../../../pages/login/FormField"; import { takeError } from "../../revoltjs/util"; diff --git a/src/pages/home/Home.tsx b/src/pages/home/Home.tsx index 1b8edcc6..8a57658a 100644 --- a/src/pages/home/Home.tsx +++ b/src/pages/home/Home.tsx @@ -23,10 +23,10 @@ import { useApplicationState } from "../../mobx/State"; import { AppContext } from "../../context/revoltjs/RevoltClient"; -import wideSVG from "../../../public/assets/wide.svg"; import Tooltip from "../../components/common/Tooltip"; import { PageHeader } from "../../components/ui/Header"; import CategoryButton from "../../components/ui/fluent/CategoryButton"; +import wideSVG from "/assets/wide.svg"; const Overlay = styled.div` display: grid; diff --git a/src/pages/login/Login.tsx b/src/pages/login/Login.tsx index 672d565d..f4f79416 100644 --- a/src/pages/login/Login.tsx +++ b/src/pages/login/Login.tsx @@ -8,8 +8,8 @@ import { Text } from "preact-i18n"; import { useApplicationState } from "../../mobx/State"; -import wideSVG from "../../../public/assets/wide.svg"; import LocaleSelector from "../../components/common/LocaleSelector"; +import wideSVG from "/assets/wide.svg"; import { Titlebar } from "../../components/native/Titlebar"; import { FormCreate } from "./forms/FormCreate"; diff --git a/src/pages/login/forms/Form.tsx b/src/pages/login/forms/Form.tsx index 9b4fb066..645af61c 100644 --- a/src/pages/login/forms/Form.tsx +++ b/src/pages/login/forms/Form.tsx @@ -12,7 +12,6 @@ import { useApplicationState } from "../../../mobx/State"; 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";