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:
parent
6b9ad580ae
commit
e06f8d027e
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
CountryCode,
|
||||
CountryCallingCode,
|
||||
getCountryCallingCode,
|
||||
} from 'libphonenumber-js';
|
||||
} from 'libphonenumber-js/mobile';
|
||||
|
||||
export const fallbackCountryCode = 'US';
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue