Added Device Context (not working)
This commit is contained in:
11
Birdmap.API/ClientApp/src/contexts/DevicesContext.js
Normal file
11
Birdmap.API/ClientApp/src/contexts/DevicesContext.js
Normal file
@ -0,0 +1,11 @@
|
||||
import React from 'react';
|
||||
|
||||
export default React.createContext({
|
||||
devices: [],
|
||||
heatmapPoints: [],
|
||||
|
||||
addDevice: () => { },
|
||||
addPoint: () => { },
|
||||
|
||||
addHandler: (_, __) => { },
|
||||
});
|
Reference in New Issue
Block a user