diff options
Diffstat (limited to 'src/pages/thematique')
| -rw-r--r-- | src/pages/thematique/[slug].tsx | 5 | 
1 files changed, 2 insertions, 3 deletions
| diff --git a/src/pages/thematique/[slug].tsx b/src/pages/thematique/[slug].tsx index 9ea52e1..3d1e966 100644 --- a/src/pages/thematique/[slug].tsx +++ b/src/pages/thematique/[slug].tsx @@ -52,7 +52,7 @@ const ThematicPage: NextPageWithLayout<ThematicPageProps> = ({    const intl = useIntl();    const { items: breadcrumbItems, schema: breadcrumbSchema } = useBreadcrumb({      title, -    url: `${ROUTES.THEMATICS.INDEX}/${slug}`, +    url: `${ROUTES.THEMATICS}/${slug}`,    });    const { asPath } = useRouter(); @@ -189,8 +189,7 @@ export const getStaticProps: GetStaticProps<ThematicPageProps> = async ({    );    const allThematicsLinks = allThematics.filter(      (thematic) => -      thematic.url !== -      `${ROUTES.THEMATICS.INDEX}/${(params as ThematicParams).slug}` +      thematic.url !== `${ROUTES.THEMATICS}/${(params as ThematicParams).slug}`    );    const translation = await loadTranslation(locale); | 
