|
@@ -21,7 +21,6 @@ type ReplycommentsProps = {
|
|
|
revisionCreatedAt: Date,
|
|
revisionCreatedAt: Date,
|
|
|
currentUser: IUser,
|
|
currentUser: IUser,
|
|
|
replyList: ICommentHasIdList,
|
|
replyList: ICommentHasIdList,
|
|
|
- highlightKeywords?: string[],
|
|
|
|
|
deleteBtnClicked: (comment: ICommentHasId) => void,
|
|
deleteBtnClicked: (comment: ICommentHasId) => void,
|
|
|
onComment: () => void,
|
|
onComment: () => void,
|
|
|
}
|
|
}
|
|
@@ -29,7 +28,7 @@ type ReplycommentsProps = {
|
|
|
export const ReplyComments = (props: ReplycommentsProps): JSX.Element => {
|
|
export const ReplyComments = (props: ReplycommentsProps): JSX.Element => {
|
|
|
|
|
|
|
|
const {
|
|
const {
|
|
|
- rendererOptions, isReadOnly, revisionId, revisionCreatedAt, currentUser, replyList, highlightKeywords,
|
|
|
|
|
|
|
+ rendererOptions, isReadOnly, revisionId, revisionCreatedAt, currentUser, replyList,
|
|
|
deleteBtnClicked, onComment,
|
|
deleteBtnClicked, onComment,
|
|
|
} = props;
|
|
} = props;
|
|
|
|
|
|
|
@@ -47,7 +46,6 @@ export const ReplyComments = (props: ReplycommentsProps): JSX.Element => {
|
|
|
revisionCreatedAt={revisionCreatedAt}
|
|
revisionCreatedAt={revisionCreatedAt}
|
|
|
currentUser={currentUser}
|
|
currentUser={currentUser}
|
|
|
isReadOnly={isReadOnly}
|
|
isReadOnly={isReadOnly}
|
|
|
- highlightKeywords={highlightKeywords}
|
|
|
|
|
deleteBtnClicked={deleteBtnClicked}
|
|
deleteBtnClicked={deleteBtnClicked}
|
|
|
onComment={onComment}
|
|
onComment={onComment}
|
|
|
/>
|
|
/>
|