Change callback name to match defined one (#5)

I think it should be `handlePick` instead of `handleSelect` that doesn't appear anywhere else.

Feel free to close this PR if that was the intention
This commit is contained in:
Wojciech Stanisz 2021-07-26 21:31:48 +02:00 committed by GitHub
parent cbe4243248
commit 7e4b1680cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ export default function App() {
return (
<EmojiPicker
onEmojiSelected={handleSelect}
onEmojiSelected={handlePick}
open={isOpen}
onClose={() => setIsOpen(false)} />
)