Skip to content

Commit 2e50bd3

Browse files
committed
fix: 상품 옵션에 key prop이 누락된 부분 수정
1 parent 7fac5b2 commit 2e50bd3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/pyconkr/src/debug/page/shop_component/product.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ const ShopProductItem: React.FC<{
160160
<Stack spacing={2}>
161161
{product.option_groups.map((group) => (
162162
<Shop.Components.OptionGroupInput
163+
key={group.id}
163164
optionGroup={group}
164165
options={group.options}
165166
defaultValue={group?.options[0]?.id || ""}

0 commit comments

Comments
 (0)