mirror of
https://github.com/filecoin-project/slate.git
synced 2024-10-27 06:50:34 +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({
|
useIntersection({
|
||||||
ref: divRef,
|
ref: divRef,
|
||||||
onIntersect: () => {
|
onIntersect: () => {
|
||||||
if (feed?.length === 0 || isLoading) return;
|
if (feed?.length === 0 || isLoading[tab]) return;
|
||||||
updateFeed();
|
updateFeed();
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user