From 1d8b3e8c6f8638bf1f87dae3a2e0ad0b982a323d Mon Sep 17 00:00:00 2001 From: candela97 <54083835+candela97@users.noreply.github.com> Date: Tue, 17 Sep 2024 05:13:37 +0800 Subject: [PATCH] Move CustomModal to Modals folder --- src/js/Content/Features/Community/EditGuide/FCustomTags.svelte | 2 +- src/js/Content/Features/Store/Common/UserNotes/UserNotes.ts | 2 +- src/js/Content/Features/Store/Wishlist/FExportWishlist.ts | 2 +- src/js/Core/{ => Modals}/CustomModal.ts | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename src/js/Core/{ => Modals}/CustomModal.ts (100%) diff --git a/src/js/Content/Features/Community/EditGuide/FCustomTags.svelte b/src/js/Content/Features/Community/EditGuide/FCustomTags.svelte index b3600c010..cbe7f7e47 100644 --- a/src/js/Content/Features/Community/EditGuide/FCustomTags.svelte +++ b/src/js/Content/Features/Community/EditGuide/FCustomTags.svelte @@ -9,7 +9,7 @@ import RequestData from "@Content/Modules/RequestData"; import {onMount} from "svelte"; import AddTagForm from "./Components/AddTagForm.svelte"; - import CustomModal from "@Core/CustomModal"; + import CustomModal from "@Core/Modals/CustomModal"; let customTags: Set = new Set(); // Use Set to enforce unique tags diff --git a/src/js/Content/Features/Store/Common/UserNotes/UserNotes.ts b/src/js/Content/Features/Store/Common/UserNotes/UserNotes.ts index 88d951920..e1b125691 100644 --- a/src/js/Content/Features/Store/Common/UserNotes/UserNotes.ts +++ b/src/js/Content/Features/Store/Common/UserNotes/UserNotes.ts @@ -20,7 +20,7 @@ import Settings from "@Options/Data/Settings"; import ITADApiFacade from "@Content/Modules/Facades/ITADApiFacade"; import SteamFacade from "@Content/Modules/Facades/SteamFacade"; import NotesForm from "./NotesForm.svelte"; -import CustomModal from "@Core/CustomModal"; +import CustomModal from "@Core/Modals/CustomModal"; export default class UserNotes { diff --git a/src/js/Content/Features/Store/Wishlist/FExportWishlist.ts b/src/js/Content/Features/Store/Wishlist/FExportWishlist.ts index 66c08af28..075f2e11b 100644 --- a/src/js/Content/Features/Store/Wishlist/FExportWishlist.ts +++ b/src/js/Content/Features/Store/Wishlist/FExportWishlist.ts @@ -8,7 +8,7 @@ import SteamFacade from "@Content/Modules/Facades/SteamFacade"; import UserNotes from "@Content/Features/Store/Common/UserNotes/UserNotes"; import Clipboard from "@Content/Modules/Clipboard"; import ExportWishlistForm from "@Content/Features/Store/Wishlist/Components/ExportWishlistForm.svelte"; -import CustomModal from "@Core/CustomModal"; +import CustomModal from "@Core/Modals/CustomModal"; type WishlistData = Array<[string, { name: string, diff --git a/src/js/Core/CustomModal.ts b/src/js/Core/Modals/CustomModal.ts similarity index 100% rename from src/js/Core/CustomModal.ts rename to src/js/Core/Modals/CustomModal.ts