MCPcopy
hub / github.com/MikeChongCan/scylla / loadData

Method loadData

frontend/src/components/GeoDistribution.tsx:127–134  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

125 }
126
127 async loadData() {
128 const response = await axios.get(`${getBaseURL()}/api/v1/proxies?limit=4095`);
129 const res: ResponseJSON = response.data;
130 const proxies: Proxy[] = res.proxies;
131 this.setState({
132 proxies: proxies,
133 });
134 }
135}
136

Callers 1

componentDidMountMethod · 0.95

Calls 2

getBaseURLFunction · 0.90
getMethod · 0.80

Tested by

no test coverage detected