From 69aeb7889ac136a8e4fbe7de1330298e30345479 Mon Sep 17 00:00:00 2001
From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>
Date: Wed, 22 Oct 2025 13:59:12 +0400
Subject: feat/frontend: switch to vite, update node to v22 (#281)

---
 frontend/src/components/ConfirmDialog.tsx | 32 +++++++++++++++----------------
 1 file changed, 16 insertions(+), 16 deletions(-)

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

diff --git a/frontend/src/components/ConfirmDialog.tsx b/frontend/src/components/ConfirmDialog.tsx
index 44a653b..d8784d2 100644
--- a/frontend/src/components/ConfirmDialog.tsx
+++ b/frontend/src/components/ConfirmDialog.tsx
@@ -1,4 +1,4 @@
-import React from 'react';
+import React from "react";
 
 import "@css/Dialog.css"
 
@@ -10,22 +10,22 @@ interface ConfirmDialogProps {
 };
 
 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>
+  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

