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); }, };