From 3ac661a21ccf319119c0e861b97d11e5dfebc702 Mon Sep 17 00:00:00 2001 From: Alexander Hinestroza Date: Sat, 16 Jul 2022 10:39:52 -0500 Subject: [PATCH] Modificacion ruta archivo data.json --- src/containers/App.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/containers/App.jsx b/src/containers/App.jsx index b3700c1f..d74d7603 100644 --- a/src/containers/App.jsx +++ b/src/containers/App.jsx @@ -18,8 +18,7 @@ function App(){ const [cvData, setCvData] = React.useState(null); useEffect(() => { - // getData('https://raw.githubusercontent.com/Alextyle8/react-eth-challenge/main/data.json') - getData('./data.json') + getData('https://raw.githubusercontent.com/Alextyle8/react-eth-challenge/main/data.json') .then((json) => { setCvData(json.data); })