Skip to content

Commit 9ed665d

Browse files
committed
hotfix: 게시글의 증가값이 무조건 표시되던 오류 수정
1 parent 2629633 commit 9ed665d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/components/Summary/SidebarContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const SidebarContent = ({ title, content, increasement, typeIsCount, id }
2424
<Inform.Title>{title}</Inform.Title>
2525
<Inform.Horizontal>
2626
<Inform.Content suffix={typeIsCount ? '회' : '개'}>{parseNumber(content)}</Inform.Content>
27-
{increasement !== 0 && (
27+
{increasement && (
2828
<Inform.Highlighted suffix="↑">{parseNumber(increasement)}</Inform.Highlighted>
2929
)}
3030
</Inform.Horizontal>

0 commit comments

Comments
 (0)