From 4daa84ede781cdf6f424d68c967a17c7e1c79f59 Mon Sep 17 00:00:00 2001
From: crupest <crupest@outlook.com>
Date: Sat, 26 Aug 2023 21:00:26 +0800
Subject: ...

---
 FrontEnd/src/views/common/dialog/ConfirmDialog.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'FrontEnd/src/views/common/dialog/ConfirmDialog.tsx')

diff --git a/FrontEnd/src/views/common/dialog/ConfirmDialog.tsx b/FrontEnd/src/views/common/dialog/ConfirmDialog.tsx
index ee4bf2d7..dbbd15c6 100644
--- a/FrontEnd/src/views/common/dialog/ConfirmDialog.tsx
+++ b/FrontEnd/src/views/common/dialog/ConfirmDialog.tsx
@@ -26,7 +26,7 @@ export default function ConfirmDialog({
     <Dialog onClose={onClose} open={open}>
       <DialogContainer
         title={title}
-        titleColor={color}
+        titleColor={color ?? "danger"}
         buttons={[
           {
             key: "cancel",
-- 
cgit v1.2.3

