fix LoadingComponent was causing memory leaks

This commit is contained in:
srgooglo 2022-06-06 14:45:51 +02:00
parent 1b085aabd6
commit 98ecda8751

View File

@ -6,7 +6,10 @@ import { PostCard, LoadMore } from "components"
import "./index.less"
const LoadingComponent = () => {
return <antd.Skeleton active />
// FIXME: Im not sure why but, using <antd.Skeleton> will cause a memory leak of DOM Nodes when using IntersectionObserver
//return <antd.Skeleton active />
return <p>Loading more ...</p>
}
const NoResultComponent = () => {