From 7a5ae1c25cf011e1d522fa25abb4ba7b72e5ae44 Mon Sep 17 00:00:00 2001 From: Reckless_Satoshi Date: Tue, 7 Mar 2023 08:07:14 -0800 Subject: [PATCH] Fix initial fetchInfo on torified app --- frontend/src/contexts/AppContext.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/contexts/AppContext.tsx b/frontend/src/contexts/AppContext.tsx index 64b95851..1329099d 100644 --- a/frontend/src/contexts/AppContext.tsx +++ b/frontend/src/contexts/AppContext.tsx @@ -339,7 +339,7 @@ export const AppContextProvider = ({ fetchInfo(); } } - }, [open.stats, open.coordinator]); + }, [open.stats, open.coordinator, torStatus]); useEffect(() => { // Sets Setting network from coordinator API param if accessing via web