We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 554b5dc commit 31f5df7Copy full SHA for 31f5df7
packages/shop/src/components/features/order.tsx
@@ -61,7 +61,7 @@ const OrderProductRelationItem: React.FC<OrderProductRelationItemProps> = ({
61
.reduce(
62
(acc, optionRel) => ({
63
...acc,
64
- [optionRel.product_option_group.id]: optionRel.custom_response,
+ [optionRel.id]: optionRel.custom_response,
65
}),
66
{}
67
);
packages/shop/src/schemas/index.ts
@@ -145,6 +145,7 @@ namespace ShopSchemas {
145
};
146
options: (
147
| {
148
+ id: string;
149
product_option_group: {
150
id: string;
151
name: string;
@@ -160,6 +161,7 @@ namespace ShopSchemas {
160
161
custom_response: null;
162
}
163
164
165
166
167
0 commit comments