Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(emoji picker): fix copy button #556

Merged
merged 1 commit into from
Aug 9, 2023
Merged

fix(emoji picker): fix copy button #556

merged 1 commit into from
Aug 9, 2023

Conversation

CorentinTh
Copy link
Owner

closes #555

@vercel
Copy link

vercel bot commented Aug 9, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
it-tools ✅ Ready (Inspect) Visit Preview Aug 9, 2023 8:50pm

@sonarqubecloud
Copy link

sonarqubecloud bot commented Aug 9, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@CorentinTh CorentinTh merged commit e5d0ba7 into main Aug 9, 2023
@CorentinTh CorentinTh deleted the fix-emoji-copy branch August 9, 2023 20:54
@@ -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);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This causes breaking functionality, for instance you can verify on UUIDs: you will receive [object PointerEvent]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Emoji-picker
2 participants