From 4c805d08be9c2ec5dcd2cb1b7bb686f7e2636a9d Mon Sep 17 00:00:00 2001 From: V Date: Tue, 5 Sep 2023 21:37:39 +0200 Subject: [skip ci] PatchHelper: Fix copy button style --- src/components/VencordSettings/PatchHelperTab.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/components/VencordSettings') diff --git a/src/components/VencordSettings/PatchHelperTab.tsx b/src/components/VencordSettings/PatchHelperTab.tsx index d5bd94c..0b869a5 100644 --- a/src/components/VencordSettings/PatchHelperTab.tsx +++ b/src/components/VencordSettings/PatchHelperTab.tsx @@ -17,6 +17,7 @@ */ import { CheckedTextInput } from "@components/CheckedTextInput"; +import { CodeBlock } from "@components/CodeBlock"; import { debounce } from "@utils/debounce"; import { Margins } from "@utils/margins"; import { canonicalizeMatch, canonicalizeReplace } from "@utils/patches"; @@ -299,7 +300,7 @@ function PatchHelper() { {!!(find && match && replacement) && ( <> Code -
{Parser.parse(makeCodeblock(code, "ts"))}
+ )} -- cgit