From 5cb9f232cd2a080411e71708939ef0506fe95723 Mon Sep 17 00:00:00 2001 From: Corentin Thomasset Date: Wed, 9 Aug 2023 22:48:48 +0200 Subject: [PATCH] fix(emoji picker): fix copy button --- 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); }, };