mirror of https://github.com/vector-im/riot-web
delint
parent
ce0f16d58b
commit
7f63f496be
|
@ -452,7 +452,7 @@ export const useSpaceSummary = (space: Room): {
|
|||
await hierarchy.load(pageSize);
|
||||
setRooms(hierarchy.rooms);
|
||||
setLoading(false);
|
||||
}, [hierarchy]);
|
||||
}, [loading, hierarchy]);
|
||||
|
||||
return { loading, rooms, hierarchy, loadMore };
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue