diff --git a/src/components/PatchHelper.tsx b/src/components/PatchHelper.tsx
index 6ce093fd..f32201a4 100644
--- a/src/components/PatchHelper.tsx
+++ b/src/components/PatchHelper.tsx
@@ -85,8 +85,8 @@ function ReplacementComponent({ module, match, replacement, setReplacementError
return (
<>
- {Parser.parse(fullMatch)}
- {Parser.parse(groups)}
+
{Parser.parse(fullMatch)}
+ {Parser.parse(groups)}
>
);
}
@@ -94,7 +94,7 @@ function ReplacementComponent({ module, match, replacement, setReplacementError
function renderDiff() {
return diff?.map(p => {
const color = p.added ? "lime" : p.removed ? "red" : "grey";
- return {p.value};
+ return {p.value}
;
});
}
@@ -284,7 +284,7 @@ function PatchHelper() {
{!!(find && match && replacement) && (
<>
Code
- {Parser.parse(makeCodeblock(code, "ts"))}
+ {Parser.parse(makeCodeblock(code, "ts"))}
>
)}