From e89dd08f36367cb98f6106aa4b9ccb269485f2d0 Mon Sep 17 00:00:00 2001 From: gman Date: Wed, 4 Oct 2023 16:23:13 +0300 Subject: [PATCH] update words --- src/App.tsx | 2 +- src/ArticleCard.tsx | 4 ++-- src/Footer.tsx | 4 ++-- src/Header.tsx | 2 +- src/assets/header.json | 12 ++++++++---- 5 files changed, 14 insertions(+), 10 deletions(-) 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) {