From e5d0ba7073ab3452543c4d4128ebe88aebff3279 Mon Sep 17 00:00:00 2001 From: Corentin THOMASSET Date: Wed, 9 Aug 2023 22:54:49 +0200 Subject: [PATCH] fix(emoji picker): fix copy button (#556) --- src/composable/copy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/composable/copy.ts b/src/composable/copy.ts index fcc7b405..c7819501 100644 --- a/src/composable/copy.ts +++ b/src/composable/copy.ts @@ -7,7 +7,7 @@ export function useCopy({ source, text = 'Copied to the clipboard' }: { source?: return { async copy(content?: string, { notificationMessage }: { notificationMessage?: string } = {}) { - await copy(); + await copy(content); message.success(notificationMessage ?? text); }, };