From b277082497c7c4fc813224e6e82008c5c892c2d5 Mon Sep 17 00:00:00 2001 From: Hope87 Date: Mon, 14 Jun 2021 17:47:37 +0300 Subject: [PATCH] wrote the first request --- src/components/Home/Home.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/Home/Home.js b/src/components/Home/Home.js index 992ef4b0..9f5f2410 100644 --- a/src/components/Home/Home.js +++ b/src/components/Home/Home.js @@ -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) => {