Skip to content

Commit 15a7819

Browse files
fix: remove extra blank line in ProxyContext.tsx
Co-authored-by: kylecarbs <7122116+kylecarbs@users.noreply.github.com>
1 parent 85c61d6 commit 15a7819

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

site/src/contexts/ProxyContext.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ export const ProxyContext = createContext<ProxyContextValue | undefined>(
9393
export const ProxyProvider: FC<PropsWithChildren> = ({ children }) => {
9494
const queryClient = useQueryClient();
9595

96-
9796
// Get user saved proxy from localStorage
9897
const userSavedProxy = useMemo(() => {
9998
return loadUserSelectedProxy();
@@ -185,7 +184,7 @@ export const ProxyProvider: FC<PropsWithChildren> = ({ children }) => {
185184
saveUserSelectedProxy(best.proxy);
186185
updateProxy();
187186
}
188-
}, [latenciesLoaded, proxiesResp, proxyLatencies]);
187+
}, [latenciesLoaded, proxiesResp, proxyLatencies, userSavedProxy]);
189188

190189
return (
191190
<ProxyContext.Provider

0 commit comments

Comments
 (0)