Skip to content

Commit

Permalink
Optimize variable declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
allie500 committed Dec 5, 2023
1 parent eb9e05e commit 2c9afd5
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<FraudProtectionRuleCard
Expand Down

0 comments on commit 2c9afd5

Please sign in to comment.