From 6646f2b25433f3ef1fdce57a8bb7038a2859527a Mon Sep 17 00:00:00 2001 From: Roo Code Date: Tue, 14 Oct 2025 07:20:06 +0000 Subject: [PATCH] fix: remove duplicate nested div wrapper in CheckpointMenu component --- .../chat/checkpoints/CheckpointMenu.tsx | 74 +++++++++---------- 1 file changed, 36 insertions(+), 38 deletions(-) diff --git a/webview-ui/src/components/chat/checkpoints/CheckpointMenu.tsx b/webview-ui/src/components/chat/checkpoints/CheckpointMenu.tsx index c4e2f63c15..aaeb5a43ff 100644 --- a/webview-ui/src/components/chat/checkpoints/CheckpointMenu.tsx +++ b/webview-ui/src/components/chat/checkpoints/CheckpointMenu.tsx @@ -101,46 +101,44 @@ export const CheckpointMenu = ({
-
- {!isConfirming ? ( + {!isConfirming ? ( + + ) : ( + <> - ) : ( - <> - - - - )} - {isConfirming ? ( -
- {t("chat:checkpoint.menu.cannotUndo")} -
- ) : ( -
- {t("chat:checkpoint.menu.restoreFilesAndTaskDescription")} -
- )} -
+ + + )} + {isConfirming ? ( +
+ {t("chat:checkpoint.menu.cannotUndo")} +
+ ) : ( +
+ {t("chat:checkpoint.menu.restoreFilesAndTaskDescription")} +
+ )}
)}