yuto-oweseek před 4 roky
rodič
revize
742c4316bf
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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 { appContainer, pageId, highlightKeywords } = props;
 
 
   const { data: comments, mutate } = useSWRxPageComment(pageId);
   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 commentsFromOldest = useMemo(() => (formatedComments != null ? [...formatedComments].reverse() : null), [formatedComments]);
   const commentsExceptReply: ICommentHasIdList | undefined = useMemo(
   const commentsExceptReply: ICommentHasIdList | undefined = useMemo(