From e40f07211f5f15dcb138e2520a76d13afd3c0cfd Mon Sep 17 00:00:00 2001
From: FifthWit <fifthwitbusiness@gmail.com>
Date: Thu, 30 Jan 2025 10:44:30 -0600
Subject: formatted with prettier

---
 frontend/src/components/MessageDialog.tsx | 46 +++++++++++++++++--------------
 1 file changed, 25 insertions(+), 21 deletions(-)

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

diff --git a/frontend/src/components/MessageDialog.tsx b/frontend/src/components/MessageDialog.tsx
index 5c85189..b739ebc 100644
--- a/frontend/src/components/MessageDialog.tsx
+++ b/frontend/src/components/MessageDialog.tsx
@@ -1,29 +1,33 @@
 import React from 'react';
 
-import "@css/Dialog.css"
+import '@css/Dialog.css';
 
 interface MessageDialogProps {
-    title: string;
-    subtitle: string;
-    onClose: () => void;
-};
+  title: string;
+  subtitle: string;
+  onClose: () => void;
+}
 
-const MessageDialog: React.FC<MessageDialogProps> = ({ title, subtitle, onClose }) => {
-    return (
-        <div className='dimmer'>
-            <div className='dialog'>
-                <div className='dialog-element dialog-header'>
-                    <span>{title}</span>
-                </div>
-                <div className='dialog-element dialog-description'>
-                    <span>{subtitle}</span>
-                </div>
-                <div className='dialog-element dialog-btns-container'>
-                    <button onClick={onClose}>Close</button>
-                </div>
-            </div>
+const MessageDialog: React.FC<MessageDialogProps> = ({
+  title,
+  subtitle,
+  onClose,
+}) => {
+  return (
+    <div className="dimmer">
+      <div className="dialog">
+        <div className="dialog-element dialog-header">
+          <span>{title}</span>
         </div>
-    )
-}
+        <div className="dialog-element dialog-description">
+          <span>{subtitle}</span>
+        </div>
+        <div className="dialog-element dialog-btns-container">
+          <button onClick={onClose}>Close</button>
+        </div>
+      </div>
+    </div>
+  );
+};
 
 export default MessageDialog;
-- 
cgit v1.2.3

