MCPcopy Create free account
hub / github.com/codename-co/stack / check

Function check

packages/website/src/components/Debug.tsx:13–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11 * StatusDot is its live indicator, so the only thing left to own is the
12 * slide-in/out transform — the banner is absent, not just invisible, when the
13 * app is not running.
14 */
15export const Debug: React.FC<{ children?: any; lang: Lang }> = ({
16 children,
17 lang,
18}) => {
19 const [connected, setConnected] = useState(false);
20
21 const t = useTranslations(lang);
22
23 useEffect(() => {
24 const check = async () => {
25 const reachable = await isApiAccessible();

Callers 1

DebugFunction · 0.85

Calls 2

isApiAccessibleFunction · 0.90
logMethod · 0.80

Tested by

no test coverage detected