فهرست منبع

update ReplyComments.tsx

jam411 3 سال پیش
والد
کامیت
411cf4db13
2فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 1 1
      packages/app/src/components/PageComment.tsx
  2. 2 2
      packages/app/src/components/PageComment/ReplyComments.tsx

+ 1 - 1
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';
 
 type Props = {
   pageId?: Nullable<string>

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

@@ -10,7 +10,7 @@ import { useIsAllReplyShown } from '../../stores/context';
 
 import { Comment } from './Comment';
 
-type ReplaycommentsProps = {
+type ReplycommentsProps = {
   isReadOnly: boolean,
   replyList: ICommentHasIdList,
   deleteBtnClicked: (comment: ICommentHasId) => void,
@@ -21,7 +21,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,