diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/composable/copy.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/composable/copy.ts b/src/composable/copy.ts index fcc7b40..c781950 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); }, }; |