remove unnecessary anonymous function
This commit is contained in:
parent
e4e3a28838
commit
e6291e4ee1
|
@ -894,7 +894,7 @@ const reactWithEmoji = ({ id, emoji, credentials }) => {
|
|||
method: 'POST',
|
||||
credentials,
|
||||
payload: { emoji }
|
||||
}).then(status => parseStatus(status))
|
||||
}).then(parseStatus)
|
||||
}
|
||||
|
||||
const unreactWithEmoji = ({ id, emoji, credentials }) => {
|
||||
|
|
Loading…
Reference in New Issue