This commit is contained in:
Michael Telatynski 2021-09-28 14:03:41 +01:00
parent ce0f16d58b
commit 7f63f496be

View file

@ -452,7 +452,7 @@ export const useSpaceSummary = (space: Room): {
await hierarchy.load(pageSize); await hierarchy.load(pageSize);
setRooms(hierarchy.rooms); setRooms(hierarchy.rooms);
setLoading(false); setLoading(false);
}, [hierarchy]); }, [loading, hierarchy]);
return { loading, rooms, hierarchy, loadMore }; return { loading, rooms, hierarchy, loadMore };
}; };