woke is back

This commit is contained in:
Samuel Newman
2025-12-10 19:29:57 +02:00
parent 37f03234d6
commit f6fc5bc4a6
+2 -2
View File
@@ -2,7 +2,7 @@ import {type CountryCode} from '#/lib/international-telephone-codes'
import {IS_DEV} from '#/env' import {IS_DEV} from '#/env'
import {useGeolocation} from '#/geolocation' import {useGeolocation} from '#/geolocation'
const FIND_CONTACTS_FEATURE_COUNTRY_WHITELIST = [ const FIND_CONTACTS_FEATURE_COUNTRY_ALLOWLIST = [
'US', 'US',
'GB', 'GB',
'JP', 'JP',
@@ -19,7 +19,7 @@ const FIND_CONTACTS_FEATURE_COUNTRY_WHITELIST = [
] satisfies CountryCode[] as string[] ] satisfies CountryCode[] as string[]
export function isFindContactsFeatureEnabled(countryCode: string): boolean { export function isFindContactsFeatureEnabled(countryCode: string): boolean {
return FIND_CONTACTS_FEATURE_COUNTRY_WHITELIST.includes( return FIND_CONTACTS_FEATURE_COUNTRY_ALLOWLIST.includes(
countryCode.toUpperCase(), countryCode.toUpperCase(),
) )
} }