From 94a3f8d5a8fe5ec0d792628d71d72219475542dc Mon Sep 17 00:00:00 2001 From: Anton Date: Fri, 22 Dec 2023 10:22:50 +0100 Subject: [PATCH] Modal can have children now --- src/Components/Gaming/Modal.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Components/Gaming/Modal.tsx b/src/Components/Gaming/Modal.tsx index 5e3c90f7..9bf1711c 100644 --- a/src/Components/Gaming/Modal.tsx +++ b/src/Components/Gaming/Modal.tsx @@ -95,7 +95,7 @@ const close = () => { } -export function Modal() { +export function Modal({children}) { const [chapter, setChapter] = useState(1); const setQuestsOpen = useSetQuestOpen(); @@ -129,7 +129,7 @@ export function Modal() {
- + {children}