Update index.jsx
This commit is contained in:
1 parent
eedc6bbed6
commit
4317e1bc5b
1 file changed
-1
@@ -57,7 +57,6 @@ const Incidents = () => {
|
|||||||
null,
|
null,
|
||||||
null
|
null
|
||||||
);
|
);
|
||||||
console.log(res);
|
|
||||||
// Reduce to a lookup object for 0(1) lookup
|
// Reduce to a lookup object for 0(1) lookup
|
||||||
if (res.data && res.data.data.length > 0) {
|
if (res.data && res.data.data.length > 0) {
|
||||||
const monitorLookup = res.data.data.reduce((acc, monitor) => {
|
const monitorLookup = res.data.data.reduce((acc, monitor) => {
|
||||||
|
|||||||
Reference in new issue
Block a user