wrote the first request

This commit is contained in:
Hope87 2021-06-14 17:47:37 +03:00
parent 732cb7a2bc
commit b277082497

View File

@ -63,6 +63,10 @@ const Home = () => {
useEffect(() => {
setTabs(tabsList);
setCandidates(candidatesList);
fetch('https://guild.craft-group.xyz/api/skills/skills-on-main-page')
.then((res) => res.json())
.then((resJson) => console.log(resJson));
}, []);
const handleBlockClick = (name) => {