Skip to content

Commit

Permalink
lint and fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ShahriarKh committed Dec 9, 2022
1 parent 808a501 commit dc02880
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/EmojiCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const Twemoji = ({ emoji, size = 24, onClick }) => {

return (
<div
tabindex="0"
tabIndex="0"
className={css["card"]}
onClick={onClick}
onKeyUp={(e) => {
Expand Down
2 changes: 1 addition & 1 deletion components/SearchBox.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default function SearchBox({ setAvailabeEmojis, emojis }) {
useEffect(() => {
const timeout = setTimeout(() => handleSearch(query), 200);
return () => clearTimeout(timeout);
}, [query]);
}, [query, handleSearch]);

return (
<input
Expand Down

1 comment on commit dc02880

@vercel
Copy link

@vercel vercel bot commented on dc02880 Dec 9, 2022

Choose a reason for hiding this comment

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

Please sign in to comment.