Skip to content

Commit c14b688

Browse files
committed
chore: 불필요한 undefined 체크 제거
1 parent e74886d commit c14b688

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ const ProductItem: React.FC<{
174174
key={group.id}
175175
optionGroup={group}
176176
options={group.options}
177-
defaultValue={group?.options[0]?.id || ""}
177+
defaultValue={group.options[0]?.id || ""}
178178
disabled={disabled}
179179
/>
180180
))}

0 commit comments

Comments
 (0)