@@ -136,7 +136,8 @@ export const ProxyProvider: FC<PropsWithChildren> = ({ children }) => {
136136loadUserSelectedProxy ( ) ,
137137proxyLatencies ,
138138// Do not auto select based on latencies, as inconsistent latencies can cause this
139- // to behave poorly.
139+ // to change on each call. updateProxy should be stable when selecting a proxy to
140+ // prevent flickering.
140141false ,
141142) ,
142143) ;
@@ -150,7 +151,7 @@ export const ProxyProvider: FC<PropsWithChildren> = ({ children }) => {
150151} , [ proxiesResp , proxyLatencies ] ) ;
151152
152153// This useEffect will auto select the best proxy if the user has not selected one.
153- // It must wait until all latencies are loaded to select based on latency. This does mean
154+ // It must wait until all latencies are loaded to select based on latency. This does mean
154155// the first time a user loads the page, the proxy will "flicker" to the best proxy.
155156//
156157// Once the page is loaded, or the user selects a proxy, this will not run again.