From 26c5fbc36730ff65b8f7b8625733c2618f974832 Mon Sep 17 00:00:00 2001 From: Matthias Metelka <62722460+kleinerpirat@users.noreply.github.com> Date: Wed, 3 Aug 2022 19:39:30 +0200 Subject: [PATCH] Fix imports --- ts/editor/LabelContainer.svelte | 7 +++---- ts/editor/NoteEditor.svelte | 3 +-- ts/editor/icons.ts | 6 +++--- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/ts/editor/LabelContainer.svelte b/ts/editor/LabelContainer.svelte index 1a86f4324..4b0976e06 100644 --- a/ts/editor/LabelContainer.svelte +++ b/ts/editor/LabelContainer.svelte @@ -6,11 +6,10 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html import { createEventDispatcher, getContext } from "svelte"; import type { Readable } from "svelte/store"; - import { directionKey } from "../lib/context-keys"; - - import * as tr from "../lib/ftl"; import Badge from "../components/Badge.svelte"; - import { chevronRight, chevronDown } from "./icons"; + import { directionKey } from "../lib/context-keys"; + import * as tr from "../lib/ftl"; + import { chevronDown,chevronRight } from "./icons"; export let off: boolean; diff --git a/ts/editor/NoteEditor.svelte b/ts/editor/NoteEditor.svelte index 345bad7bc..c53985962 100644 --- a/ts/editor/NoteEditor.svelte +++ b/ts/editor/NoteEditor.svelte @@ -8,10 +8,9 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html import type { EditingInputAPI } from "./EditingArea.svelte"; import type { EditorToolbarAPI } from "./editor-toolbar"; import type { EditorFieldAPI } from "./EditorField.svelte"; - + import FieldState from "./FieldState.svelte"; import LabelContainer from "./LabelContainer.svelte"; import LabelName from "./LabelName.svelte"; - import FieldState from "./FieldState.svelte"; export interface NoteEditorAPI { fields: EditorFieldAPI[]; diff --git a/ts/editor/icons.ts b/ts/editor/icons.ts index f332da594..105d28d8d 100644 --- a/ts/editor/icons.ts +++ b/ts/editor/icons.ts @@ -5,10 +5,10 @@ export { default as incrementClozeIcon } from "../icons/contain-plus.svg"; export { default as alertIcon } from "@mdi/svg/svg/alert.svg"; +export { default as chevronDown } from "@mdi/svg/svg/chevron-down.svg"; +export { default as chevronRight } from "@mdi/svg/svg/chevron-right.svg"; +export { default as chevronUp } from "@mdi/svg/svg/chevron-up.svg"; export { default as clozeIcon } from "@mdi/svg/svg/contain.svg"; export { default as richTextOff } from "@mdi/svg/svg/eye-off-outline.svg"; export { default as richTextOn } from "@mdi/svg/svg/eye-outline.svg"; export { default as stickyIcon } from "@mdi/svg/svg/pin-outline.svg"; -export { default as chevronUp } from "@mdi/svg/svg/chevron-up.svg"; -export { default as chevronRight } from "@mdi/svg/svg/chevron-right.svg"; -export { default as chevronDown } from "@mdi/svg/svg/chevron-down.svg";