Refer to ./ instead of components/ from within components

This commit is contained in:
Henrik Giesel 2021-07-09 16:50:12 +02:00
parent f5b58442ce
commit b49112a910
3 changed files with 5 additions and 5 deletions

View file

@ -3,8 +3,8 @@ Copyright: Ankitects Pty Ltd and contributors
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
-->
<script lang="ts">
import type { DropdownProps } from "components/dropdown";
import { dropdownKey } from "components/context-keys";
import type { DropdownProps } from "./dropdown";
import { dropdownKey } from "./context-keys";
import { onMount, createEventDispatcher, getContext } from "svelte";
let className = "";

View file

@ -3,8 +3,8 @@ Copyright: Ankitects Pty Ltd and contributors
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
-->
<script lang="typescript">
import WithTheming from "components/WithTheming.svelte";
import Detachable from "components/Detachable.svelte";
import WithTheming from "./WithTheming.svelte";
import Detachable from "./Detachable.svelte";
import type { ButtonRegistration } from "./buttons";
import { ButtonPosition } from "./buttons";

View file

@ -3,7 +3,7 @@ Copyright: Ankitects Pty Ltd and contributors
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
-->
<script lang="typescript">
import Detachable from "components/Detachable.svelte";
import Detachable from "./Detachable.svelte";
import type { Register, Registration } from "./registration";