Skip to content

Commit 6ee4412

Browse files
Merge pull request #3935 from RedisInsight/fe/fix-typo
fix monitor typo
2 parents c27561f + 5dede97 commit 6ee4412

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redisinsight/ui/src/components/monitor-config/MonitorConfig.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ const MonitorConfig = ({ retryDelay = 15000 } : IProps) => {
8989
}
9090

9191
payloadsRef.current.push({ isError: true, time: `${Date.now()}`, ...payload })
92-
setNewItems(payloadsRef.current, () => { payloads.length = 0 })
92+
setNewItems(payloadsRef.current, () => { payloadsRef.current.length = 0 })
9393
dispatch(pauseMonitor())
9494
})
9595

0 commit comments

Comments
 (0)