_id -> id
This commit is contained in:
1 parent
c0e4893f96
commit
c1b2bda623
3 files changed
+10
-7
No files matched your search
@@ -48,8 +48,8 @@ const Checks = () => {
|
||||
|
||||
useEffect(() => {
|
||||
const monitorLookup = monitors?.reduce((acc, monitor) => {
|
||||
acc[monitor._id] = {
|
||||
_id: monitor._id,
|
||||
acc[monitor.id] = {
|
||||
id: monitor.id,
|
||||
name: monitor.name,
|
||||
type: monitor.type,
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user