MCPcopy Create free account
hub / github.com/TryCatchLearn/Overflow / onClick

Function onClick

webapp/src/app/session/AuthTestButton.tsx:8–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6
7export default function AuthTestButton() {
8 const onClick = async () => {
9 const {data, error} = await testAuth();
10 if (error) handleError(error);
11 if (data) successToast(data);
12 }
13
14 return (
15 <Button

Callers

nothing calls this directly

Calls 3

testAuthFunction · 0.90
handleErrorFunction · 0.90
successToastFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…