From 68a6f0e65d556f58b5ff3f6839012ed2ac06e6d0 Mon Sep 17 00:00:00 2001 From: Radu Cazacu Date: Sun, 21 Jan 2024 17:45:40 +0200 Subject: [PATCH] Refetch get all peers --- pages/server/findPeers/[findPeersServerCid].tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/server/findPeers/[findPeersServerCid].tsx b/pages/server/findPeers/[findPeersServerCid].tsx index b9c03f2..79f6073 100644 --- a/pages/server/findPeers/[findPeersServerCid].tsx +++ b/pages/server/findPeers/[findPeersServerCid].tsx @@ -14,7 +14,7 @@ const FindPeers = () => { useEffect(() => { useListAllPeers({ cid: current_selected_session }); return () => {}; - }, []); + }, [current_selected_session]); return (