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/ConfirmDialog.tsx | 49 +++++++++++++++++--------------
 1 file changed, 27 insertions(+), 22 deletions(-)

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

diff --git a/frontend/src/components/ConfirmDialog.tsx b/frontend/src/components/ConfirmDialog.tsx
index 44a653b..925118d 100644
--- a/frontend/src/components/ConfirmDialog.tsx
+++ b/frontend/src/components/ConfirmDialog.tsx
@@ -1,31 +1,36 @@
 import React from 'react';
 
-import "@css/Dialog.css"
+import '@css/Dialog.css';
 
 interface ConfirmDialogProps {
-    title: string;
-    subtitle: string;
-    onConfirm: () => void;
-    onCancel: () => void;
-};
+  title: string;
+  subtitle: string;
+  onConfirm: () => void;
+  onCancel: () => void;
+}
 
-const ConfirmDialog: React.FC<ConfirmDialogProps> = ({ title, subtitle, onConfirm, onCancel }) => {
-    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={onCancel}>Cancel</button>
-                    <button onClick={onConfirm}>Confirm</button>
-                </div>
-            </div>
+const ConfirmDialog: React.FC<ConfirmDialogProps> = ({
+  title,
+  subtitle,
+  onConfirm,
+  onCancel,
+}) => {
+  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={onCancel}>Cancel</button>
+          <button onClick={onConfirm}>Confirm</button>
         </div>
-    )
+      </div>
+    </div>
+  );
 };
 
 export default ConfirmDialog;
-- 
cgit v1.2.3

