Skip to content

Commit

Permalink
chore: version 1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
halfmoon-mind committed Sep 2, 2023
1 parent 3366d68 commit b63a2f8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "up-d4te",
"version": "1.0.2",
"version": "1.0.3",
"description": "Recommend Dating Course in Korea with CLI",
"author": {
"name": "Sanghyeon Sim",
Expand Down
4 changes: 4 additions & 0 deletions source/component/ShopPost.js
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,10 @@ const ShopPost = ({userId, category, setStoreName}) => {
const response = await fetchKakaoShops(shopTitle, category);
setKakaoShops(response.data['documents']);
if (response.data['documents'].length == 0) return;
setLatitude(kakaoShops[0].y);
setLongitude(kakaoShops[0].x);
setPhoneNumber(kakaoShops[0].phone);
setPlaceUrl(kakaoShops[0].place_url);
setSelectedShopIndex(0);
};

Expand Down

0 comments on commit b63a2f8

Please sign in to comment.