MCPcopy Create free account
hub / github.com/Bitbox-Connect/Bitbox / fetchGitHubStars

Function fetchGitHubStars

client/src/component/Footer.jsx:90–94  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88
89 useEffect(() => {
90 const fetchGitHubStars = async () => {
91 const response = await fetch('https://api.github.com/repos/Bitbox-Connect/Bitbox');
92 const data = await response.json();
93 setStars(data.stargazers_count);
94 };
95 fetchGitHubStars();
96 }, []);
97

Callers 1

FooterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected