From 207a2540101b2f216bde94ae53286d2e52f044e3 Mon Sep 17 00:00:00 2001
From: Wolfboy248 <georgejvindkarlsen@gmail.com>
Date: Mon, 25 Nov 2024 09:20:01 +0100
Subject: frontend: begin port to css modules, sidebar refactor

---
 frontend/src/components/MessageDialog.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'frontend/src/components/MessageDialog.tsx')

diff --git a/frontend/src/components/MessageDialog.tsx b/frontend/src/components/MessageDialog.tsx
index 5c85189..8c584b7 100644
--- a/frontend/src/components/MessageDialog.tsx
+++ b/frontend/src/components/MessageDialog.tsx
@@ -1,5 +1,6 @@
 import React from 'react';
 
+import btn from "@css/Button.module.css"
 import "@css/Dialog.css"
 
 interface MessageDialogProps {
@@ -19,7 +20,7 @@ const MessageDialog: React.FC<MessageDialogProps> = ({ title, subtitle, onClose
                     <span>{subtitle}</span>
                 </div>
                 <div className='dialog-element dialog-btns-container'>
-                    <button onClick={onClose}>Close</button>
+                    <button className={btn.default} onClick={onClose}>Close</button>
                 </div>
             </div>
         </div>
-- 
cgit v1.2.3

