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

Function closeMenu

site/src/modules/dashboard/Navbar/ProxyMenu.tsx:33–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31 const selectedProxy = proxyContextValue.proxy.proxy;
32 const refreshLatencies = proxyContextValue.refetchProxyLatencies;
33 const closeMenu = () => setOpen(false);
34 const latencies = proxyContextValue.proxyLatencies;
35 const isLoadingLatencies = Object.keys(latencies).length === 0;
36 const isLoading = proxyContextValue.isLoading || isLoadingLatencies;

Callers 1

ProxyMenuFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected