diff --git a/webview-ui/src/components/chat/BatchDiffApproval.tsx b/webview-ui/src/components/chat/BatchDiffApproval.tsx index 03f06d4106..24ad8d489d 100644 --- a/webview-ui/src/components/chat/BatchDiffApproval.tsx +++ b/webview-ui/src/components/chat/BatchDiffApproval.tsx @@ -33,22 +33,24 @@ export const BatchDiffApproval = memo(({ files = [], ts }: BatchDiffApprovalProp return (
- {files.map((file) => { - // Combine all diffs into a single diff string for this file - const combinedDiff = file.diffs?.map((diff) => diff.content).join("\n\n") || file.content +
+ {files.map((file) => { + // Combine all diffs into a single diff string for this file + const combinedDiff = file.diffs?.map((diff) => diff.content).join("\n\n") || file.content - return ( -
- handleToggleExpand(file.path)} - /> -
- ) - })} + return ( +
+ handleToggleExpand(file.path)} + /> +
+ ) + })} +
) })