diff --git a/package.json b/package.json index 6d3d03a..4aa7a6f 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/source/component/ShopPost.js b/source/component/ShopPost.js index d2b4b87..4aebdfb 100644 --- a/source/component/ShopPost.js +++ b/source/component/ShopPost.js @@ -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); };