Skip to content

Commit

Permalink
Fix(mypage): mock data 적용 및 기타 아이콘 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Dobbymin committed Dec 16, 2024
1 parent 97e2238 commit d82420b
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { useState } from 'react'

// import { useState } from 'react'
import { GitHubLogoIcon, InstagramLogoIcon } from '@radix-ui/react-icons'

import WriteInfo from './WriteInfo'
Expand All @@ -15,24 +14,22 @@ const UserInfoSection = ({
instagramInfo,
profileIntro,
}: UserInfoSectionProps) => {
const [editProfileIntro, setEditProfileIntro] = useState<boolean>(false)
const [editSocialIntro, setEditSocialIntro] = useState<boolean>(false)
// const [editProfileIntro, setEditProfileIntro] = useState<boolean>(false)
// const [editSocialIntro, setEditSocialIntro] = useState<boolean>(false)

return (
<section className="mt-10 flex h-full w-full flex-col space-y-5">
<WriteInfo
title="한 줄 소개"
description="멤버 페이지에서 보이는 정보입니다."
actionText="수정"
onClick={() => setEditProfileIntro(!editProfileIntro)}
division
>
<div className="text-md">{profileIntro}</div>
</WriteInfo>
<WriteInfo
title="소셜 정보"
actionText="수정"
onClick={() => setEditSocialIntro(!editSocialIntro)}
description="멤버 페이지에서 보이는 정보입니다."
division
>
Expand Down

0 comments on commit d82420b

Please sign in to comment.