소스 검색

clean code

jam411 3 년 전
부모
커밋
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');