You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
373 B
20 lines
373 B
7 years ago
|
// eslint-disable import/prefer-default-export
|
||
|
|
||
|
export const devicesUpdate = payload => dispatch =>
|
||
|
dispatch({
|
||
|
type: 'DEVICES_UPDATE',
|
||
|
payload,
|
||
|
})
|
||
|
|
||
|
export const deviceAdd = payload => dispatch =>
|
||
|
dispatch({
|
||
|
type: 'DEVICE_ADD',
|
||
|
payload,
|
||
|
})
|
||
|
|
||
|
export const deviceRemove = payload => dispatch =>
|
||
|
dispatch({
|
||
|
type: 'DEVICE_REMOVE',
|
||
|
payload,
|
||
|
})
|