mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +00:00
fix LoadingComponent
was causing memory leaks
This commit is contained in:
parent
1b085aabd6
commit
98ecda8751
@ -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 = () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user