diff --git a/src/components/site/PostFooter.tsx b/src/components/site/PostFooter.tsx index fff5340c..8020bd64 100644 --- a/src/components/site/PostFooter.tsx +++ b/src/components/site/PostFooter.tsx @@ -14,7 +14,11 @@ const key = ["PostFooterInView"] const DynamicComment = dynamic(() => import("~/components/common/Comment"), { // TODO Skeleton - loading: () =>

Loading comments...

, + loading: () => ( +
+

Loading comments...

+
+ ), }) export const usePostFooterInView = () => { @@ -61,7 +65,13 @@ export const PostFooter = ({ page={page} /> - {(inited || isInView) && } + {inited || isInView ? ( + + ) : ( +
+

Loading comments...

+
+ )} ) }