Added Device Context (not working)

This commit is contained in:
2020-11-17 18:58:28 +01:00
parent 2a83856622
commit 3f2467f6c6
3 changed files with 145 additions and 0 deletions

View File

@ -0,0 +1,11 @@
import React from 'react';
export default React.createContext({
devices: [],
heatmapPoints: [],
addDevice: () => { },
addPoint: () => { },
addHandler: (_, __) => { },
});