mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-19 16:04:41 +00:00
render comments if comments property exists
This commit is contained in:
parent
9d92c884e8
commit
fd47aebca7
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ export const CommentsMain = (props: {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex flex-col gap-2">
|
<div className="flex flex-col gap-2">
|
||||||
{props.comments.map((comment: any) => (
|
{props.comments && props.comments.map((comment: any) => (
|
||||||
<CommentsComment
|
<CommentsComment
|
||||||
key={comment.id}
|
key={comment.id}
|
||||||
release_id={props.release_id}
|
release_id={props.release_id}
|
||||||
|
|
Loading…
Add table
Reference in a new issue