From ab6c90259388f7d29d0afa07648cf396717aec0f Mon Sep 17 00:00:00 2001 From: Reckless_Satoshi Date: Sat, 13 Jan 2024 11:44:23 +0000 Subject: [PATCH] fix infinite re-render loop --- frontend/src/contexts/FederationContext.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/contexts/FederationContext.tsx b/frontend/src/contexts/FederationContext.tsx index 473542f5..5e433655 100644 --- a/frontend/src/contexts/FederationContext.tsx +++ b/frontend/src/contexts/FederationContext.tsx @@ -170,7 +170,7 @@ export const FederationContextProvider = ({ void federation.fetchRobot(garage, slot.token); // create new robot with existing token and keys (on network and coordinator change) } } - }, [open.profile, hostUrl, robotUpdatedAt]); + }, [open.profile, hostUrl]); return (