jam411 3 lat temu
rodzic
commit
b6a392e55a

+ 2 - 2
packages/app/src/components/PageComment.tsx

@@ -18,7 +18,7 @@ import { Comment } from './PageComment/Comment';
 import { CommentEditor } from './PageComment/CommentEditor';
 import { CommentEditorLazyRenderer } from './PageComment/CommentEditorLazyRenderer';
 import DeleteCommentModal from './PageComment/DeleteCommentModal';
-import { ReplayComments } from './PageComment/ReplayComments';
+import { ReplyComments } from './PageComment/ReplyComments';
 
 import styles from './PageComment.module.scss';
 
@@ -155,7 +155,7 @@ export const PageComment: FC<Props> = memo((props:Props): JSX.Element => {
   );
 
   const generateAllRepliesElement = (replyComments: ICommentHasIdList) => (
-    <ReplayComments
+    <ReplyComments
       isReadOnly={isReadOnly}
       replyList={replyComments}
       deleteBtnClicked={onClickDeleteButton}

+ 0 - 0
packages/app/src/components/PageComment/ReplayComment.module.scss → packages/app/src/components/PageComment/ReplyComments.module.scss


+ 3 - 3
packages/app/src/components/PageComment/ReplayComments.tsx → packages/app/src/components/PageComment/ReplyComments.tsx

@@ -10,9 +10,9 @@ import { useIsAllReplyShown } from '../../stores/context';
 
 import { Comment } from './Comment';
 
-import styles from './ReplayComment.module.scss';
+import styles from './ReplyComments.module.scss';
 
-type ReplaycommentsProps = {
+type ReplycommentsProps = {
   isReadOnly: boolean,
   replyList: ICommentHasIdList,
   deleteBtnClicked: (comment: ICommentHasId) => void,
@@ -23,7 +23,7 @@ type ReplaycommentsProps = {
   currentRevisionCreatedAt: Date,
 }
 
-export const ReplayComments = (props: ReplaycommentsProps): JSX.Element => {
+export const ReplyComments = (props: ReplycommentsProps): JSX.Element => {
 
   const {
     isReadOnly, replyList, deleteBtnClicked, onComment, rendererOptions,