mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
fix language code format mismatch (#8889)
This commit is contained in:
parent
259d19850f
commit
68bcf38a65
@ -50,7 +50,7 @@ export function useTransactionTimeRemaining (
|
||||
const featureFlags = useSelector(getFeatureFlags)
|
||||
const transactionTimeFeatureActive = featureFlags?.transactionTime
|
||||
|
||||
const rtf = new Intl.RelativeTimeFormat(locale, { numeric: 'auto', style: 'narrow' })
|
||||
const rtf = new Intl.RelativeTimeFormat(locale.replace('_', '-'), { numeric: 'auto', style: 'narrow' })
|
||||
|
||||
// Memoize this value so it can be used as a dependency in the effect below
|
||||
const initialTimeEstimate = useMemo(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user