Skip to content

Commit

Permalink
fix: 상점 정보 수정 시 메인 카테고리 기본값 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
chaeseungyun committed Nov 22, 2024
1 parent f679356 commit 9f3fb13
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/page/MyShopPage/components/EditShopInfoModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export default function EditShopInfoModal({
open_time: day.open_time,
close_time: day.close_time,
})),
main_category_id: shopInfo.shop_categories.map((category) => category.id)[0],
},
});

Expand Down

0 comments on commit 9f3fb13

Please sign in to comment.