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

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

@@ -77,6 +77,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
   const [comment, setComment] = useState(commentBody ?? '');
   const [markdown, setMarkdown] = useState('');
   const [activeTab, setActiveTab] = useState('comment_editor');