From d82420b9be4deb42d2c67e12fdb6c9f5f7576a82 Mon Sep 17 00:00:00 2001 From: Dobbymin Date: Mon, 16 Dec 2024 22:26:55 +0900 Subject: [PATCH] =?UTF-8?q?Fix(mypage):=20mock=20data=20=EC=A0=81=EC=9A=A9?= =?UTF-8?q?=20=EB=B0=8F=20=EA=B8=B0=ED=83=80=20=EC=95=84=EC=9D=B4=EC=BD=98?= =?UTF-8?q?=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mypage/_components/user-info/UserInfoSection.tsx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/app/(main)/mypage/_components/user-info/UserInfoSection.tsx b/src/app/(main)/mypage/_components/user-info/UserInfoSection.tsx index 246617a6..f3673f65 100644 --- a/src/app/(main)/mypage/_components/user-info/UserInfoSection.tsx +++ b/src/app/(main)/mypage/_components/user-info/UserInfoSection.tsx @@ -1,5 +1,4 @@ -import { useState } from 'react' - +// import { useState } from 'react' import { GitHubLogoIcon, InstagramLogoIcon } from '@radix-ui/react-icons' import WriteInfo from './WriteInfo' @@ -15,8 +14,8 @@ const UserInfoSection = ({ instagramInfo, profileIntro, }: UserInfoSectionProps) => { - const [editProfileIntro, setEditProfileIntro] = useState(false) - const [editSocialIntro, setEditSocialIntro] = useState(false) + // const [editProfileIntro, setEditProfileIntro] = useState(false) + // const [editSocialIntro, setEditSocialIntro] = useState(false) return (
@@ -24,7 +23,6 @@ const UserInfoSection = ({ title="한 줄 소개" description="멤버 페이지에서 보이는 정보입니다." actionText="수정" - onClick={() => setEditProfileIntro(!editProfileIntro)} division >
{profileIntro}
@@ -32,7 +30,6 @@ const UserInfoSection = ({ setEditSocialIntro(!editSocialIntro)} description="멤버 페이지에서 보이는 정보입니다." division >