We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c132e29 commit 5dede97Copy full SHA for 5dede97
redisinsight/ui/src/components/monitor-config/MonitorConfig.tsx
@@ -89,7 +89,7 @@ const MonitorConfig = ({ retryDelay = 15000 } : IProps) => {
89
}
90
91
payloadsRef.current.push({ isError: true, time: `${Date.now()}`, ...payload })
92
- setNewItems(payloadsRef.current, () => { payloads.length = 0 })
+ setNewItems(payloadsRef.current, () => { payloadsRef.current.length = 0 })
93
dispatch(pauseMonitor())
94
})
95
0 commit comments