Skip to content

Commit

Permalink
fix: loading 표시 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
asaei623 committed Sep 26, 2023
1 parent 0940498 commit ffcab4c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/pages/Main/PostDetail/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const PostDetail = () => {
{' '}
</Header>
<EntireContainer color={Palette.Gray05} background={Palette.Gray05}>
{postdetail !== null ? (
{postdetail !== null && (
<Column gap={23}>
<CardSlider cards={MakeCardSlider(postdetail)} />
<Row justifyContent="space-between">
Expand All @@ -57,8 +57,6 @@ const PostDetail = () => {
<CommentsBox comments={postdetail.commentList}></CommentsBox>
)}
</Column>
) : (
<div>loading...</div>
)}
</EntireContainer>

Expand Down

0 comments on commit ffcab4c

Please sign in to comment.