Skip to content

Commit 7cc0c00

Browse files
committed
chore: 주문 내역 내 상품들간의 여백 추가
1 parent 31f5df7 commit 7cc0c00

File tree

1 file changed

+13
-11
lines changed
  • packages/shop/src/components/features

1 file changed

+13
-11
lines changed

packages/shop/src/components/features/order.tsx

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -237,17 +237,19 @@ const OrderItem: React.FC<{ order: ShopSchemas.Order; disabled?: boolean }> = ({
237237
<br />
238238
<Typography variant="h6">{productsInOrderStr}</Typography>
239239
<br />
240-
{order.products.map((prodRel) => (
241-
<OrderProductRelationItem
242-
key={prodRel.id}
243-
language={language}
244-
order={order}
245-
prodRel={prodRel}
246-
isPending={isPending}
247-
oneItemRefundMutation={oneItemRefundMutation}
248-
optionsOfOneItemInOrderPatchMutation={optionsOfOneItemInOrderPatchMutation}
249-
/>
250-
))}
240+
<Stack spacing={2}>
241+
{order.products.map((prodRel) => (
242+
<OrderProductRelationItem
243+
key={prodRel.id}
244+
language={language}
245+
order={order}
246+
prodRel={prodRel}
247+
isPending={isPending}
248+
oneItemRefundMutation={oneItemRefundMutation}
249+
optionsOfOneItemInOrderPatchMutation={optionsOfOneItemInOrderPatchMutation}
250+
/>
251+
))}
252+
</Stack>
251253
<br />
252254
<Divider />
253255
</Common.Components.MDX.PrimaryStyledDetails>

0 commit comments

Comments
 (0)