From 35946dbb2feb7f9d1cbab16fb0602ce0303562e9 Mon Sep 17 00:00:00 2001
From: Wolfboy248 <georgejvindkarlsen@gmail.com>
Date: Tue, 29 Oct 2024 10:09:17 +0100
Subject: refactor: upload run dialog, useMessage update, added loader spinner

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

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

diff --git a/frontend/src/hooks/UseMessage.tsx b/frontend/src/hooks/UseMessage.tsx
index 602cf65..9bfb713 100644
--- a/frontend/src/hooks/UseMessage.tsx
+++ b/frontend/src/hooks/UseMessage.tsx
@@ -29,6 +29,10 @@ const useMessage = () => {
         <MessageDialog title={title} subtitle={subtitle} onClose={handleClose}></MessageDialog>
     );
 
+	const getDialogComponent = () => {
+		return MessageDialogComponent;
+	};
+
     return { message, MessageDialogComponent };
 }
 
-- 
cgit v1.2.3

