From b63a2f876e0fba295e37ccefb05ec2acf6062834 Mon Sep 17 00:00:00 2001 From: Sanghyeon Sim <5338095@gmail.com> Date: Sat, 2 Sep 2023 11:17:11 +0900 Subject: [PATCH] chore: version 1.0.3 --- package.json | 2 +- source/component/ShopPost.js | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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); };