From 03de77dba166e4baf57f4a5f8e8d164ac02607d9 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Tue, 6 Aug 2024 03:25:36 +0530 Subject: [PATCH] fix: move confirm & discard buttons w. text steps logic --- src/components/organisms/RightSidePanel.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/organisms/RightSidePanel.tsx b/src/components/organisms/RightSidePanel.tsx index 90709f7b..960090d4 100644 --- a/src/components/organisms/RightSidePanel.tsx +++ b/src/components/organisms/RightSidePanel.tsx @@ -128,15 +128,15 @@ const stopCaptureAndEmitGetTextSettings = useCallback(() => { margin="normal" InputProps={{ readOnly: confirmedTextSteps[step.id] }} /> - - ) : null - } {!confirmedTextSteps[step.id] && ( )} + + ) : null + } ))}