diff --git a/client/settings/fraud-protection/advanced-settings/cards/international-ip-address.tsx b/client/settings/fraud-protection/advanced-settings/cards/international-ip-address.tsx index 8681b2631d6..34b6e342994 100644 --- a/client/settings/fraud-protection/advanced-settings/cards/international-ip-address.tsx +++ b/client/settings/fraud-protection/advanced-settings/cards/international-ip-address.tsx @@ -18,8 +18,7 @@ import { getAdminUrl } from 'wcpay/utils'; import { getSupportedCountriesType } from '../utils'; const InternationalIPAddressRuleCard: React.FC = () => { - const supportedCountriesType = getSupportedCountriesType(); - const supportsAllCountries = 'all' === supportedCountriesType; + const supportsAllCountries = 'all' === getSupportedCountriesType(); return (