fix value with new types
This commit is contained in:
@@ -33,7 +33,7 @@ function userSpecificVariantLoader({
|
|||||||
throw new Error('Personal code not found');
|
throw new Error('Personal code not found');
|
||||||
}
|
}
|
||||||
|
|
||||||
const { gender, ageRange } = PersonalCode.parsePersonalCode(personalCode);
|
const { ageRange, gender: { value: gender } } = PersonalCode.parsePersonalCode(personalCode);
|
||||||
|
|
||||||
return ({
|
return ({
|
||||||
product,
|
product,
|
||||||
|
|||||||
Reference in New Issue
Block a user