From 7f63f496be54326b299fe971156ddd1d858883d8 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 28 Sep 2021 14:03:41 +0100 Subject: [PATCH] delint --- src/components/structures/SpaceHierarchy.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structures/SpaceHierarchy.tsx b/src/components/structures/SpaceHierarchy.tsx index 5d38cc16c2..ed87b04c8a 100644 --- a/src/components/structures/SpaceHierarchy.tsx +++ b/src/components/structures/SpaceHierarchy.tsx @@ -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 }; };