Fix footer disappear

This commit is contained in:
DefectingCat
2022-01-03 10:49:59 +08:00
parent d67cbcae85
commit a355d5265f

View File

@ -185,9 +185,7 @@ const Post = ({ postData }: InferGetStaticPropsType<typeof getStaticProps>) => {
</Box>
{/* Comment */}
<Box ref={commentRef} h="382px">
{commentInView && <PostComment />}
</Box>
<Box ref={commentRef}>{commentInView && <PostComment />}</Box>
<Footer />
</Flex>