yuto-oweseek 4 лет назад
Родитель
Сommit
742c4316bf
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/app/src/components/PageCommentList.tsx

+ 1 - 1
packages/app/src/components/PageCommentList.tsx

@@ -29,7 +29,7 @@ const PageCommentList:FC<Props> = memo((props:Props):JSX.Element => {
   const { appContainer, pageId, highlightKeywords } = props;
 
   const { data: comments, mutate } = useSWRxPageComment(pageId);
-  const [formatedComments, setFormatedComments] = useState <ICommentHasIdList | null>(null);
+  const [formatedComments, setFormatedComments] = useState<ICommentHasIdList | null>(null);
 
   const commentsFromOldest = useMemo(() => (formatedComments != null ? [...formatedComments].reverse() : null), [formatedComments]);
   const commentsExceptReply: ICommentHasIdList | undefined = useMemo(