From 0082a60e02e58bdea13295de9664a06784a30121 Mon Sep 17 00:00:00 2001 From: Pramod Mahajan Date: Thu, 29 May 2025 19:57:24 +0530 Subject: [PATCH] fixed console warning --- src/components/common/TextEditor/Editor.jsx | 44 +++++++++++---------- 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/src/components/common/TextEditor/Editor.jsx b/src/components/common/TextEditor/Editor.jsx index 84f9728f..dd6938f2 100644 --- a/src/components/common/TextEditor/Editor.jsx +++ b/src/components/common/TextEditor/Editor.jsx @@ -29,21 +29,22 @@ const Editor = ({ "code-block", "link", "align", - "image" + "image", ]; return (
-
+
{/* Left: Quill Format Buttons */} -
- {/* Right: Submit + Cancel Buttons */} -
- - Cancel - - - {loading ? "Please Wait..." : "Submit"} - -
- + {/* Right: Submit + Cancel Buttons */} +
+ + Cancel + + + {loading ? "Please Wait..." : "Submit"} + +
); };