From 93f7cf0e98e2402d71960bc355de6ed60fe43bc1 Mon Sep 17 00:00:00 2001
From: Corentin THOMASSET <corentin.thomasset74@gmail.com>
Date: Tue, 8 Aug 2023 09:19:43 +0200
Subject: feat(new tool): emoji picker (#551)

---
 src/tools/json-diff/diff-viewer/diff-viewer.models.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/tools/json-diff/diff-viewer/diff-viewer.models.tsx')

diff --git a/src/tools/json-diff/diff-viewer/diff-viewer.models.tsx b/src/tools/json-diff/diff-viewer/diff-viewer.models.tsx
index d2117df..1d340ed 100644
--- a/src/tools/json-diff/diff-viewer/diff-viewer.models.tsx
+++ b/src/tools/json-diff/diff-viewer/diff-viewer.models.tsx
@@ -112,7 +112,7 @@ function Value({ value, status }: { value: unknown; status: string }) {
   const { copy } = useCopy({ source: formatedValue });
 
   return (
-    <span class={['value', status]} onClick={copy}>
+    <span class={['value', status]} onClick={() => copy()}>
       {formatedValue}
     </span>
   );
-- 
cgit v1.2.3

