Removing commands

This commit is contained in:
James Barnsley
2018-10-09 21:51:47 +13:00
parent fc3f5e2d2f
commit c8dc36cd04
5 changed files with 51 additions and 1 deletions

View File

@ -204,6 +204,13 @@ export function setCommand(command){
}
}
export function removeCommand(id){
return {
type: 'PUSHER_REMOVE_COMMAND',
id: id
}
}
export function sendCommand(id){
return {
type: 'PUSHER_SEND_COMMAND',