From 5252e0a6f8107a71988e880cf21a9e5803fbfa4f Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Tue, 19 Dec 2023 23:11:10 +0100 Subject: [PATCH] chore: format --- src/client/app/composables/copyCode.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/client/app/composables/copyCode.ts b/src/client/app/composables/copyCode.ts index c4f54721..2c458bb4 100644 --- a/src/client/app/composables/copyCode.ts +++ b/src/client/app/composables/copyCode.ts @@ -16,10 +16,7 @@ export function useCopyCode() { parent.className ) - const ignoredNodes = [ - '.vp-copy-ignore', - '.diff.remove' - ] + const ignoredNodes = ['.vp-copy-ignore', '.diff.remove'] // Clone the node and remove the ignored nodes const clone = sibling.cloneNode(true) as HTMLElement