Skip to content

Commit

Permalink
Merge branch 'dev' into prod
Browse files Browse the repository at this point in the history
  • Loading branch information
emscb committed Aug 1, 2023
2 parents de51406 + 566736f commit 0f4419a
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions pages/sponsor/list/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,18 +113,19 @@ const SponsorDetailPage = () => {
)}
</Description>
</Content>
{sponsorDetail.creatorUserid === loginUser.userid && (
<div style={{ display: 'flex', justifyContent: 'center' }}>
<Button
reversal
onClick={() => {
router.push(`/sponsor/edit/${sponsorDetail.id}`);
}}
>
후원사 설명 수정
</Button>
</div>
)}
{loginUser.userid !== null &&
sponsorDetail.creatorUserid === loginUser.userid && (
<div style={{ display: 'flex', justifyContent: 'center' }}>
<Button
reversal
onClick={() => {
router.push(`/sponsor/edit/${sponsorDetail.id}`);
}}
>
후원사 설명 수정
</Button>
</div>
)}
</PageWrapper>
</>
);
Expand Down

0 comments on commit 0f4419a

Please sign in to comment.