MCPcopy Index your code
hub / github.com/coder/coder / loadUserSelectedProxy

Function loadUserSelectedProxy

site/src/contexts/ProxyContext.tsx:306–313  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

304};
305
306const loadUserSelectedProxy = (): Region | undefined => {
307 const str = localStorage.getItem("user-selected-proxy");
308 if (!str) {
309 return undefined;
310 }
311
312 return JSON.parse(str);
313};

Callers 1

ProxyProviderFunction · 0.85

Calls 1

parseMethod · 0.80

Tested by

no test coverage detected