diff --git a/pages/index.jsx b/pages/index.jsx index d0374f6..16204fc 100644 --- a/pages/index.jsx +++ b/pages/index.jsx @@ -136,8 +136,8 @@ export default function Home() { {articles.found === statusFetch.notFound && ( <> -

No se encontro el articulo

-

Ultimos articulos publicados

+

No se encontro el articulo

+

Ultimos articulos publicados

)}
@@ -145,7 +145,7 @@ export default function Home() { articles.data.map((article) => { return (
@@ -162,8 +162,7 @@ export default function Home() { {article.title}

- Some quick example text to build on the card title and make - up the bulk of the cards content. + {article.categories[0].description}

)} - {articles.found === statusFetch.pending &&

cargando...

} + {articles.found === statusFetch.pending && ( +

cargando...

+ )} ); }