fix infinite re-render loop

This commit is contained in:
Reckless_Satoshi 2024-01-13 11:44:23 +00:00
parent 963a3b9e00
commit ab6c902593
No known key found for this signature in database
GPG Key ID: 9C4585B561315571

View File

@ -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 (
<FederationContext.Provider