feat: add spoiler/low rating warning for comment

This commit is contained in:
Kentai Radiquum 2024-08-09 14:55:42 +05:00
parent e6271f20d9
commit c5112e05be
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
3 changed files with 46 additions and 6 deletions

View file

@ -61,6 +61,10 @@ export const CommentsMain = (props: {
reply_count: comment.reply_count,
likes_count: comment.likes_count,
vote: comment.vote,
isSpoiler: comment.is_spoiler,
isEdited: comment.is_edited,
isDeleted: comment.is_deleted,
can_like: comment.can_like,
}}
token={props.token}
/>
@ -181,6 +185,10 @@ const CommentsAllModal = (props: {
reply_count: comment.reply_count,
likes_count: comment.likes_count,
vote: comment.vote,
isSpoiler: comment.is_spoiler,
isEdited: comment.is_edited,
isDeleted: comment.is_deleted,
can_like: comment.can_like,
}}
token={props.token}
/>