Skip to content

Commit

Permalink
fix(frontend): fix title for theme page (#2634)
Browse files Browse the repository at this point in the history
  • Loading branch information
lionelB authored Apr 17, 2020
1 parent 89630ec commit b3fad95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/code-du-travail-frontend/pages/themes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ const ThemesPage = ({ pageUrl, ogImage, children = [] }) => (
</FocusRoot>
<Grid>
{children &&
children.map(({ children, icon, slug, label }) => (
children.map(({ children, icon, slug, title }) => (
<Link
key={slug}
href={`/${getRouteBySource(SOURCES.THEMES)}/[slug]`}
as={slug}
passHref
>
<Tile icon={icons[icon]} title={label}>
<Tile icon={icons[icon]} title={title}>
<TileChildren>
<SubThemes>{children}</SubThemes>
<StyledDiv hasContentAbove={Boolean(children)}>
Expand Down

0 comments on commit b3fad95

Please sign in to comment.