diff --git a/webview-ui/src/components/CodeAccordian.tsx b/webview-ui/src/components/CodeAccordian.tsx index 4169917..aac599d 100644 --- a/webview-ui/src/components/CodeAccordian.tsx +++ b/webview-ui/src/components/CodeAccordian.tsx @@ -49,19 +49,35 @@ const CodeAccordian = ({ code, diff, language, path, isFeedback, isExpanded, onT msUserSelect: "none", }} onClick={onToggleExpand}> - {isFeedback && } - - {isFeedback ? "User Edits" : removeLeadingNonAlphanumeric(path ?? "") + "\u200E"} - + {isFeedback ? ( +
+ + + User Edits + +
+ ) : ( + <> + + {removeLeadingNonAlphanumeric(path ?? "") + "\u200E"} + + + )} )}