diff --git a/src/App.tsx b/src/App.tsx index 6202686..6fb63ef 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -33,7 +33,7 @@ const router = createBrowserRouter([ path: "/article/:id", element:
, loader: async ({ params }) => { - return fetch(`http://strapi.wg.gateway.ts/api/articles?filters[id][$eq]=${params.id}`); + return fetch(`http://strapi.wg.gateway.ts/api/articles?populate=*&filters[id][$eq]=${params.id}`); }, } ]) diff --git a/src/ArticleCard.tsx b/src/ArticleCard.tsx index 9f6c565..c4961ae 100644 --- a/src/ArticleCard.tsx +++ b/src/ArticleCard.tsx @@ -52,7 +52,7 @@ export function ArticleCardVertical({ return ( - + {category} @@ -63,7 +63,7 @@ export function ArticleCardVertical({ handleAddressClick(id)} className={classes.address}> {/* */} - + {address} diff --git a/src/Footer.tsx b/src/Footer.tsx index acc7606..e24314d 100644 --- a/src/Footer.tsx +++ b/src/Footer.tsx @@ -130,10 +130,10 @@ export function FooterLinks({ data }: FooterLinksProps) {