remove unnecessary anonymous function

This commit is contained in:
Shpuld Shpuldson 2020-01-27 18:43:26 +02:00
parent e4e3a28838
commit e6291e4ee1

View file

@ -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 }) => {