From fd555567419a418fae802211ad1b0e37c652227d Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Tue, 21 Nov 2023 09:29:27 +0100 Subject: [PATCH] Updated the Dialog.jsx component --- client/src/pages/Home/components/Dialog/Dialog.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/pages/Home/components/Dialog/Dialog.jsx b/client/src/pages/Home/components/Dialog/Dialog.jsx index 2d0db84..2a2b32c 100644 --- a/client/src/pages/Home/components/Dialog/Dialog.jsx +++ b/client/src/pages/Home/components/Dialog/Dialog.jsx @@ -4,13 +4,13 @@ import {faGear, faXmark} from "@fortawesome/free-solid-svg-icons"; import {useContext} from "react"; import {SettingsContext} from "@/common/contexts/SettingsProvider.jsx"; -export const Dialog = ({onClose}) => { +export const Dialog = ({onClose, open}) => { const {rounds, updateRounds} = useContext(SettingsContext); return ( <> -
+
@@ -28,7 +28,7 @@ export const Dialog = ({onClose}) => {
-
+ {open &&
} ) } \ No newline at end of file