Lint: Fix weird react-hooks error
This commit is contained in:
parent
144469cda9
commit
c5e1f3cfd4
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ const mapDispatchToProps = (dispatch, { onPickEmoji }) => ({
|
|||
},
|
||||
|
||||
onPickEmoji: emoji => {
|
||||
dispatch(useEmoji(emoji));
|
||||
dispatch(useEmoji(emoji)); // eslint-disable-line react-hooks/rules-of-hooks
|
||||
|
||||
if (onPickEmoji) {
|
||||
onPickEmoji(emoji);
|
||||
|
|
Loading…
Reference in a new issue