From 03a0d6e6d522e1290b7fd9caec291e27a0fc011c Mon Sep 17 00:00:00 2001 From: a-honey Date: Wed, 28 Feb 2024 01:15:54 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20=EA=B8=B0=ED=83=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/login/index.tsx | 4 +++- src/pages/mypage/account/index.tsx | 8 ++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/pages/login/index.tsx b/src/pages/login/index.tsx index 1276999..72f656c 100644 --- a/src/pages/login/index.tsx +++ b/src/pages/login/index.tsx @@ -43,7 +43,9 @@ const LoginPage: NextPage = () => {
-
SNS 계정으로 로그인
+
+ SNS 계정으로 로그인 +
diff --git a/src/pages/mypage/account/index.tsx b/src/pages/mypage/account/index.tsx index e8773c7..9f9e04c 100644 --- a/src/pages/mypage/account/index.tsx +++ b/src/pages/mypage/account/index.tsx @@ -1,9 +1,11 @@ import Header from '@/components/organisms/Header'; +import { useGetMe } from '@/hooks/queries/mypage'; import useLogout from '@/hooks/useLogout'; import { type NextPage } from 'next'; const FriendsListPage: NextPage = () => { const logout = useLogout(); + const data = useGetMe(); return (
@@ -11,6 +13,12 @@ const FriendsListPage: NextPage = () => {
+
+
연결된계정
+
+ {data.kakaoEmail ?? data.googleEmail ?? ''} +
+