From 4d842995f4067058b21729aab6139cd388c36353 Mon Sep 17 00:00:00 2001
From: Wolfboy248 <georgejvindkarlsen@gmail.com>
Date: Tue, 29 Oct 2024 11:45:00 +0100
Subject: refactor: loader dialog, uploadrundialog update, touchups

---
 frontend/src/hooks/UseMessage.tsx | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

(limited to 'frontend/src/hooks/UseMessage.tsx')

diff --git a/frontend/src/hooks/UseMessage.tsx b/frontend/src/hooks/UseMessage.tsx
index 9bfb713..13d8e4f 100644
--- a/frontend/src/hooks/UseMessage.tsx
+++ b/frontend/src/hooks/UseMessage.tsx
@@ -26,13 +26,11 @@ const useMessage = () => {
     };
 
     const MessageDialogComponent = isOpen && (
+		<div className="dialog-container">
         <MessageDialog title={title} subtitle={subtitle} onClose={handleClose}></MessageDialog>
+		</div>
     );
 
-	const getDialogComponent = () => {
-		return MessageDialogComponent;
-	};
-
     return { message, MessageDialogComponent };
 }
 
-- 
cgit v1.2.3

