mirror of
https://github.com/filecoin-project/slate.git
synced 2024-10-26 22:39:39 +03:00
fix(activity): add isLoading for each tab state
This commit is contained in:
parent
9c791aa741
commit
6cff05d205
@ -36,7 +36,7 @@ export default function SceneActivity({ page, viewer, external, onAction }) {
|
||||
useIntersection({
|
||||
ref: divRef,
|
||||
onIntersect: () => {
|
||||
if (feed?.length === 0 || isLoading) return;
|
||||
if (feed?.length === 0 || isLoading[tab]) return;
|
||||
updateFeed();
|
||||
},
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user