Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

좋아요 싫어요 누를시 바로 유저없음 뜨는 이슈 #44

Closed
junsu1220 opened this issue Aug 24, 2022 · 1 comment
Closed
Assignees
Labels
bug Something isn't working

Comments

@junsu1220
Copy link
Contributor

2022-08-24 20:18

@junsu1220 junsu1220 added the bug Something isn't working label Aug 24, 2022
@junsu1220 junsu1220 self-assigned this Aug 24, 2022
@dusunax
Copy link
Contributor

dusunax commented Aug 24, 2022

이 부분 수정

<aside>
  {curr_user.userId !== 999 && (
    <Fragment>
      <SwipeProfile curr_user={curr_user} logginId={logginId} />
      <SwipeInterest curr_user={curr_user} logginId={logginId} />
      <SwipeControlBar curr_user={curr_user} logginId={logginId} />
    </Fragment>
  )}
</aside>
  • 불러올 값이 없을 때 false로 바로 잡을 수 있게, userId 초기값을 false로 변경,
  • aside밖으로 빼서 빈 그라데이션 안나오게 함
 {curr_user.userId && (
  <aside>
    {curr_user.userId !== 999 && (
      <Fragment>
        <SwipeProfile curr_user={curr_user} logginId={logginId} />
        <SwipeInterest curr_user={curr_user} logginId={logginId} />
        <SwipeControlBar curr_user={curr_user} logginId={logginId} />
      </Fragment>
    )}
  </aside>
)}

@dusunax dusunax closed this as completed Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants