From 1376f3b3545f39f32928c5a9c0c4d034a2fe56e5 Mon Sep 17 00:00:00 2001 From: phixMe Date: Tue, 22 Oct 2024 14:15:36 -0700 Subject: [PATCH] Deferred copy revert. Signed-off-by: phixMe --- web/src/components/core/copy/MqCopy.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/src/components/core/copy/MqCopy.tsx b/web/src/components/core/copy/MqCopy.tsx index 66bc6aeea6..25d5e2c6b3 100644 --- a/web/src/components/core/copy/MqCopy.tsx +++ b/web/src/components/core/copy/MqCopy.tsx @@ -31,6 +31,9 @@ const MqEmpty: React.FC = ({ string }) => { navigator.clipboard.writeText(string) setOpen(true) setHasCopied(true) + setTimeout(() => { + setHasCopied(false) + }, 3000) }} aria-label='copy' size={'small'}