Skip to content

Commit

Permalink
sdp-tech#559 fix : follow page first queryparameter
Browse files Browse the repository at this point in the history
  • Loading branch information
youngsikkk committed Nov 17, 2023
1 parent 6791820 commit 723a68c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/mypage/myInfo/InfoForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,8 @@ export default function InfoForm(props) {
<ImageBox profile={profile_image} onClick={()=>{myData(info.email)}} />
{open && <OtherUserData open = {open} userData = {myProfileModal} handleClose={handleClose}/>}
<TextBox>
<FollowText onClick={() =>{navigate('/mypage/follower?page=1')}}>팔로워 {followerNum}</FollowText>
<FollowText onClick={() =>{navigate('/mypage/following?page=1')}}>팔로잉 {followingNum}</FollowText>
<FollowText onClick={() =>{navigate(`/mypage/follower?page=1&me=${nickname}`)}}>팔로워 {followerNum}</FollowText>
<FollowText onClick={() =>{navigate(`/mypage/following?page=1&me=${nickname}`)}}>팔로잉 {followingNum}</FollowText>
</TextBox>
</div>
<InfoContainer>
Expand Down

0 comments on commit 723a68c

Please sign in to comment.