Skip to content

Commit

Permalink
correcting the url to avoid error
Browse files Browse the repository at this point in the history
  • Loading branch information
sarthak-kumar-shailendra committed Dec 17, 2024
1 parent fd9f464 commit 35e5ea0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {
localPhoneNumbersByDialCodeMap,
} from './data/phoneNumber';

import { getFlagOfCountry } from '@razorpay/i18nify-js';
import { FLAG_4X3_BASE_PATH } from 'src/constants/phoneNumber';

const PhoneNumberForm = ({
inpValue,
Expand Down Expand Up @@ -90,9 +90,9 @@ const PhoneNumberForm = ({
marginRight: 8,
}}
loading="lazy"
src={getFlagOfCountry(dialCodeCountryCodeMap[
src={`${FLAG_4X3_BASE_PATH}/${dialCodeCountryCodeMap[
code
][0])['4X3']}
][0].toLocaleLowerCase()}.svg`}
/>
</Box>
</MenuItem>
Expand Down

0 comments on commit 35e5ea0

Please sign in to comment.