Skip to content

Commit 347b7b1

Browse files
committed
fix: Post에 Tag가 없을 경우 오류 수정
1 parent 3928d3c commit 347b7b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ const renderCard = (
7777
</g>
7878
7979
<g xmlns="http://www.w3.org/2000/svg" data-testid="main-card-bottom" transform="translate(0, 40)">
80-
${refineTags(tags)}
80+
${tags ? refineTags(tags) : null}
8181
</g>
8282
</svg>`);
8383
};

0 commit comments

Comments
 (0)