diff --git a/TODO.md b/TODO.md index 86fd064..c4dad17 100644 --- a/TODO.md +++ b/TODO.md @@ -49,7 +49,6 @@ ## Баги - в статусе профиля нет переноса на новые линии -- лишний отступ на последнем ответе на комментарий ## Другое diff --git a/app/components/Comments/Comments.Comment.tsx b/app/components/Comments/Comments.Comment.tsx index 51f45d6..a152aef 100644 --- a/app/components/Comments/Comments.Comment.tsx +++ b/app/components/Comments/Comments.Comment.tsx @@ -16,7 +16,6 @@ export const CommentsComment = (props: { isSpoiler: boolean; isEdited: boolean; isDeleted: boolean; - can_like: boolean; }; isSubComment?: boolean; token: string | null; @@ -82,7 +81,7 @@ export const CommentsComment = (props: { } return ( -
+
-

+

{!props.comment.isDeleted ? props.comment.message : "Комментарий был удалён."} @@ -215,8 +214,8 @@ export const CommentsComment = (props: { isSpoiler: comment.is_spoiler, isEdited: comment.is_edited, isDeleted: comment.is_deleted, - can_like: comment.can_like, }} + isSubComment={true} token={props.token} /> ))} diff --git a/app/components/Comments/Comments.Main.tsx b/app/components/Comments/Comments.Main.tsx index 4080ad5..5ca9d4a 100644 --- a/app/components/Comments/Comments.Main.tsx +++ b/app/components/Comments/Comments.Main.tsx @@ -64,7 +64,6 @@ export const CommentsMain = (props: { isSpoiler: comment.is_spoiler, isEdited: comment.is_edited, isDeleted: comment.is_deleted, - can_like: comment.can_like, }} token={props.token} /> @@ -188,7 +187,6 @@ const CommentsAllModal = (props: { isSpoiler: comment.is_spoiler, isEdited: comment.is_edited, isDeleted: comment.is_deleted, - can_like: comment.can_like, }} token={props.token} />