jam411 3 лет назад
Родитель
Сommit
6eaa70aacf
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      packages/app/src/components/PageComment/CommentEditor.tsx

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

@@ -45,7 +45,6 @@ type PropsType = {
   replyTo?: string,
   currentCommentId?: string,
   commentBody?: string,
-  commentCreator?: string,
   onCancelButtonClicked?: () => void,
   onCommentButtonClicked?: () => void,
 }
@@ -74,7 +73,7 @@ export const CommentEditor = (props: PropsType): JSX.Element => {
   const { data: editorConfig } = useEditorConfig();
 
   const [isReadyToUse, setIsReadyToUse] = useState(!isForNewComment);
-  // TODO: Refactor comment and markdown variable names or logic
+  // TODO: Refactor comment and markdown variable names or logic after presentation
   const [comment, setComment] = useState(commentBody ?? '');
   const [markdown, setMarkdown] = useState('');
   const [activeTab, setActiveTab] = useState('comment_editor');