diff --git a/public/pages/CreateMonitor/components/AssociateMonitors/AssociateMonitors.js b/public/pages/CreateMonitor/components/AssociateMonitors/AssociateMonitors.js index e25f17c12..56b3b8df3 100644 --- a/public/pages/CreateMonitor/components/AssociateMonitors/AssociateMonitors.js +++ b/public/pages/CreateMonitor/components/AssociateMonitors/AssociateMonitors.js @@ -34,7 +34,7 @@ const AssociateMonitors = ({ useEffect(() => { if (monitors?.length) { const value = { ...queryTemplate }; - monitors.map((monitor, idx) => { + monitors.forEach((monitor, idx) => { let delegate = { order: idx + 1, monitor_id: monitor.monitor_id,