MCPcopy Create free account
hub / github.com/code100x/cms / getGithubData

Function getGithubData

src/components/GitHubLinkButton.tsx:28–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26 }, [searchParams]);
27
28 const getGithubData = async () => {
29 const response = await fetch('/api/github/details');
30 const resp = await response.json();
31 setGithubData(resp.data[0]);
32 };
33
34 const handleUnlinkAccount = async () => {
35 setIsProcessing(true);

Callers 2

handleUnlinkAccountFunction · 0.85
GitHubLinkButtonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected