From 86e964a2743f5f1f058ecb62a18c7d3c93bff4ea Mon Sep 17 00:00:00 2001 From: Corentin THOMASSET Date: Thu, 10 Aug 2023 00:07:44 +0200 Subject: fix(copy): prevent shorthand copy if source is present in useCopy (#559) * fix(copy): prevent shorthand copy if source is present in useCopy * refactor(copy): normalized copy usage --- src/tools/url-encoder/url-encoder.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tools/url-encoder') diff --git a/src/tools/url-encoder/url-encoder.vue b/src/tools/url-encoder/url-encoder.vue index 324693b..c43f819 100644 --- a/src/tools/url-encoder/url-encoder.vue +++ b/src/tools/url-encoder/url-encoder.vue @@ -60,7 +60,7 @@ const { copy: copyDecoded } = useCopy({ source: decodeOutput, text: 'Decoded str />
- + Copy
@@ -89,7 +89,7 @@ const { copy: copyDecoded } = useCopy({ source: decodeOutput, text: 'Decoded str />
- + Copy
-- cgit v1.2.3