Collection of handy online tools for developers, with great UX.
TypeScript converterdeveloper-productivitydeveloper-toolsfrontendjavascriptproductivitytooltoolstypescriptvuejswebsite
fix(emoji picker): fix copy button (#556)
Corentin THOMASSETe5d0ba7073ab
diff --git a/src/composable/copy.ts b/src/composable/copy.tsindex 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);},};