From d9b8119afe26030ee4b6448bb33594481dc21d51 Mon Sep 17 00:00:00 2001 From: zhtmahthgus Date: Tue, 2 Aug 2022 21:34:12 +0900 Subject: [PATCH] =?UTF-8?q?#4=20[Fix]=20Kakao=20share=20description=20&=20?= =?UTF-8?q?MyPage=20Edit=20=EC=B9=B4=EC=B9=B4=EC=98=A4=20=EA=B3=B5?= =?UTF-8?q?=EC=9C=A0=20=EC=84=A4=EB=AA=85=20=EB=AC=B8=EA=B5=AC=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=20&=20=EB=A7=88=EC=9D=B4=ED=8E=98=EC=9D=B4=EC=A7=80?= =?UTF-8?q?=20=EB=8B=89=EB=84=A4=EC=9E=84=20=EC=88=98=EC=A0=95=20=EB=AA=A8?= =?UTF-8?q?=EB=93=9C=20=EC=82=AD=EC=A0=9C=20issue:=20#4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/MyPage/index.jsx | 14 ++++++++------ src/utils/shareKakao.js | 2 +- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/pages/MyPage/index.jsx b/src/pages/MyPage/index.jsx index 8685cce..6f2f323 100644 --- a/src/pages/MyPage/index.jsx +++ b/src/pages/MyPage/index.jsx @@ -2,9 +2,9 @@ import React, { useState, useEffect } from 'react'; import { useNavigate } from 'react-router-dom'; import { currentUser } from 'apis/User.apis'; -import { useInput, usePrivateAxios, logout } from 'hooks'; +import { usePrivateAxios, logout } from 'hooks'; import { CustomCalendar } from 'components'; -import { User, WhiteLeft, WhiteNormalPencil, WhiteOutlinePencil } from 'assets'; +import { User, WhiteLeft } from 'assets'; import { StyledRoot, DesktopHeader, @@ -21,7 +21,7 @@ import { function MyPage() { const navigate = useNavigate(); - const [isEditMode, setIsEditMode] = useState(1); + // const [isEditMode, setIsEditMode] = useState(1); const [userData, setUserData] = useState({}); const privateAxios = usePrivateAxios(); const getUser = async () => { @@ -52,13 +52,14 @@ function MyPage() { {userData.email} + {/* + */} diff --git a/src/utils/shareKakao.js b/src/utils/shareKakao.js index 34b6045..442da01 100644 --- a/src/utils/shareKakao.js +++ b/src/utils/shareKakao.js @@ -37,7 +37,7 @@ export default async function shareKakao(tem, rain) { objectType: 'feed', content: { title: '이상청', - description: `지금 이화는 ${tem}°C, 강수확률은 ${rain}%입니다. 지금 이화인들의 추천 옷차림은?`, + description: `지금 이화는 ${tem}°C, 강수확률은 ${rain}%입니다. 실시간 이화인 추천 옷차림은?`, imageUrl: imageUrl, link: { webUrl: process.env.REACT_APP_GOOGLE_OAUTH_REDIRECT_URL,