Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Commit

Permalink
deps update
Browse files Browse the repository at this point in the history
  • Loading branch information
PandaSekh committed Aug 28, 2022
1 parent 880ac53 commit 4c4144b
Show file tree
Hide file tree
Showing 3 changed files with 2,260 additions and 2,204 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lepre",
"version": "0.6.0",
"version": "0.6.1",
"description": "Lightweight Emoji Picker for React Enthusiasts",
"homepage": "https://pandasekh.github.io/lepre",
"author": {
Expand Down Expand Up @@ -41,27 +41,27 @@
"react": ">=16.8.0"
},
"devDependencies": {
"@babel/eslint-parser": "^7.18.9",
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^13.0.0",
"@testing-library/react-hooks": "^7.0.0",
"@testing-library/react-hooks": "^8.0.1",
"@typescript-eslint/eslint-plugin": "^5.12.1",
"@typescript-eslint/parser": "^5.12.1",
"babel-eslint": "^10.0.3",
"cross-env": "^7.0.2",
"eslint": "^8.9.0",
"eslint-config-prettier": "^8.4.0",
"eslint-config-react-app": "^7.0.0",
"eslint-config-standard": "^16.0.2",
"eslint-config-standard": "^17.0.0",
"eslint-config-standard-react": "^11.0.1",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-n": "^15.2.5",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.17.0",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-standard": "^5.0.0",
"gh-pages": "^4.0.0",
"microbundle-crl": "^0.13.10",
"npm-run-all": "^4.1.5",
Expand Down
4 changes: 2 additions & 2 deletions src/lib/useEmojis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default function useEmojis(initialEmojis: IEmoji[] = []): UseEmoji {
...initialEmojis,
/* Forces correct typing of state, but still accepts inital state without counter. */
] as FullIEmoji[]);
const increment: EmojiFN = (emoji) => dispatch({ type: 'i', emoji: emoji });
const decrement: EmojiFN = (emoji) => dispatch({ type: 'd', emoji: emoji });
const increment: EmojiFN = emoji => dispatch({ type: 'i', emoji: emoji });
const decrement: EmojiFN = emoji => dispatch({ type: 'd', emoji: emoji });
return [emojis, increment, decrement];
}
Loading

0 comments on commit 4c4144b

Please sign in to comment.