0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-03-24 22:41:28 -05:00

fix(ui): fix multiple libphonmenumber packed bug (#1544)

fix multiple libphonmenumber packed bug
This commit is contained in:
simeng-li 2022-07-14 17:44:28 +08:00 committed by GitHub
parent 6b9ad580ae
commit e06f8d027e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ import { useState } from 'react';
import { getDefaultCountryCallingCode, getCountryList } from '@/utils/country-code';
export type { CountryCallingCode } from 'libphonenumber-js';
export type { CountryCallingCode } from 'libphonenumber-js/mobile';
export type CountryMetaData = {
countryCode: CountryCode;

View file

@ -4,7 +4,7 @@ import {
CountryCode,
CountryCallingCode,
getCountryCallingCode,
} from 'libphonenumber-js';
} from 'libphonenumber-js/mobile';
export const fallbackCountryCode = 'US';