diff --git a/src/pages/Logs/RetentionModal.tsx b/src/pages/Logs/RetentionModal.tsx index 25b14ea9..8a9a6624 100644 --- a/src/pages/Logs/RetentionModal.tsx +++ b/src/pages/Logs/RetentionModal.tsx @@ -39,7 +39,7 @@ const RententionModal = () => { } else { return notifyError({ message: 'Unable to parse config' }); } - }, []); + }, [retentionConfig]); useEffect(() => { if (getLogRetentionData?.data) {