From 5caec3f0f511cdf2ba3594417b3b05f0e04144c9 Mon Sep 17 00:00:00 2001 From: Anton Tranelis Date: Mon, 12 Jan 2026 20:57:57 +0100 Subject: [PATCH] refactor(lib): move Modal from Gaming to AppShell Co-Authored-By: Claude Opus 4.5 --- lib/src/Components/{Gaming => AppShell}/Modal.tsx | 2 +- lib/src/Components/AppShell/index.tsx | 1 + lib/src/Components/Gaming/index.tsx | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) rename lib/src/Components/{Gaming => AppShell}/Modal.tsx (95%) diff --git a/lib/src/Components/Gaming/Modal.tsx b/lib/src/Components/AppShell/Modal.tsx similarity index 95% rename from lib/src/Components/Gaming/Modal.tsx rename to lib/src/Components/AppShell/Modal.tsx index 2563ccf0..d3f082dc 100644 --- a/lib/src/Components/Gaming/Modal.tsx +++ b/lib/src/Components/AppShell/Modal.tsx @@ -1,7 +1,7 @@ import { MapOverlayPage } from '#components/Templates' /** - * @category Gaming + * @category AppShell */ export function Modal({ children }: { children: React.ReactNode }) { return ( diff --git a/lib/src/Components/AppShell/index.tsx b/lib/src/Components/AppShell/index.tsx index 99c4f0c2..2ccadc04 100644 --- a/lib/src/Components/AppShell/index.tsx +++ b/lib/src/Components/AppShell/index.tsx @@ -2,4 +2,5 @@ export * from './AppShell' export { SideBar } from './SideBar' export { Content } from './Content' export { InfoRedirect } from './InfoRedirect' +export { Modal } from './Modal' export { default as SVG } from 'react-inlinesvg' diff --git a/lib/src/Components/Gaming/index.tsx b/lib/src/Components/Gaming/index.tsx index 78c873a9..9fffb315 100644 --- a/lib/src/Components/Gaming/index.tsx +++ b/lib/src/Components/Gaming/index.tsx @@ -1,2 +1 @@ -export { Modal } from './Modal' export { Quests } from './Quests'