Remove DEV override
This commit is contained in:
@@ -8,7 +8,7 @@ export function useIsAgeAssuranceEnabled() {
|
|||||||
const {geolocation} = useGeolocation()
|
const {geolocation} = useGeolocation()
|
||||||
|
|
||||||
return useMemo(() => {
|
return useMemo(() => {
|
||||||
const enabled = __DEV__ || gate('age_assurance')
|
const enabled = gate('age_assurance')
|
||||||
return enabled && !!geolocation?.isAgeRestrictedGeo
|
return enabled && !!geolocation?.isAgeRestrictedGeo
|
||||||
}, [geolocation, gate])
|
}, [geolocation, gate])
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user