From 72aa50650203d6db0b17de59bfd98c9d5b06e3e7 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 7 Sep 2018 16:09:01 +1200 Subject: Add redux and load positions --- modern/src/actions/index.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 modern/src/actions/index.js (limited to 'modern/src/actions/index.js') diff --git a/modern/src/actions/index.js b/modern/src/actions/index.js new file mode 100644 index 0000000..8ef49fa --- /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 +}) -- cgit v1.2.3