From 1a7d3e1587917a57ad94092e851abae89fcc638e Mon Sep 17 00:00:00 2001 From: Eduardo Umpierre Date: Fri, 4 Oct 2024 16:35:27 -0300 Subject: [PATCH] Fix array dependency of confirmLeaveCallback --- client/settings/fraud-protection/advanced-settings/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/client/settings/fraud-protection/advanced-settings/index.tsx b/client/settings/fraud-protection/advanced-settings/index.tsx index 25c16de6b22..74a37e9734a 100644 --- a/client/settings/fraud-protection/advanced-settings/index.tsx +++ b/client/settings/fraud-protection/advanced-settings/index.tsx @@ -313,6 +313,7 @@ const FraudProtectionAdvancedSettingsPage: React.FC = () => { useEffect( confirmLeaveCallback, [ confirmLeaveCallback, + protectionSettingsUI, advancedFraudProtectionSettings, ] );