diff --git a/arturito/src/components/HomeSection/index.tsx b/arturito/src/components/HomeSection/index.tsx index 1a9e90af..4d2e6a80 100644 --- a/arturito/src/components/HomeSection/index.tsx +++ b/arturito/src/components/HomeSection/index.tsx @@ -9,7 +9,7 @@ const Button = ({ text, href }: { text: string; href: string }) => ( const HomeSection = () => (

¡Elegí una sección!

-
); diff --git a/arturito/src/components/PlanetsSection/index.tsx b/arturito/src/components/PlanetsSection/index.tsx index b0f140b3..d5338973 100644 --- a/arturito/src/components/PlanetsSection/index.tsx +++ b/arturito/src/components/PlanetsSection/index.tsx @@ -43,9 +43,13 @@ const Planets = () => { return (
- +
+ ); }; export default Planets; + + +//change line 46
\ No newline at end of file diff --git a/arturito/src/containers/Main/index.tsx b/arturito/src/containers/Main/index.tsx index 54f1f3f2..cb577e0e 100644 --- a/arturito/src/containers/Main/index.tsx +++ b/arturito/src/containers/Main/index.tsx @@ -37,8 +37,8 @@ const MainContainer = () => { films. Codear en un componente aparte tal como {''}.

- - https://swapi.it/documentation#starships + + https://swapi.dev/documentation#starships

@@ -53,8 +53,8 @@ const MainContainer = () => { films. Codear en un componente aparte tal como {''}.

- - https://swapi.it/documentation#people + + https://swapi.dev/documentation#people

diff --git a/arturito/src/utils/fetcher.ts b/arturito/src/utils/fetcher.ts index b3e48c08..2611fd35 100644 --- a/arturito/src/utils/fetcher.ts +++ b/arturito/src/utils/fetcher.ts @@ -1,7 +1,7 @@ import axios from 'axios'; // Possible alternative: 'https://swapi.dev/api' -const baseURL = 'https://www.swapi.it/api'; +const baseURL = 'https://swapi.dev/api'; export const swGet = (url: string) => axios.get(url, { baseURL }).then((res) => res.data);