diff options
Diffstat (limited to 'modern/src/actions/index.js')
-rw-r--r-- | modern/src/actions/index.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/modern/src/actions/index.js b/modern/src/actions/index.js new file mode 100644 index 00000000..8ef49fa8 --- /dev/null +++ b/modern/src/actions/index.js @@ -0,0 +1,14 @@ +export const updateDevices = devices => ({ + type: 'UPDATE_DEVICES', + devices +}) + +export const updatePositions = positions => ({ + type: 'UPDATE_POSITIONS', + positions +}); + +export const updateEvents = events => ({ + type: 'UPDATE_EVENTS', + events +}) |