Skip to content

Commit

Permalink
Merge pull request #1246 from mi6/cherry-pick/top-nav-fix
Browse files Browse the repository at this point in the history
fix(root): cherry-pick
  • Loading branch information
GCHQ-Developer-299 authored Dec 5, 2024
2 parents 4348d0c + ae31345 commit 0cf16e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/TopNavWrapper/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ const TopNavWrapper: React.FC<TopNavWrapperProps> = ({
<a slot="app-icon" href={withPrefix("/")}>
<ICDSLogo role="img" aria-labelledby="icds-link" className="icds-logo" />
</a>
{textLinks.map(({ key, text, ...rest }) => (
{textLinks.map(({ key, text, props }) => (
<ic-navigation-item slot="navigation" key={key}>
<GatsbyLink slot="navigation-item" {...rest}>
<GatsbyLink slot="navigation-item" {...props}>
{text}
</GatsbyLink>
</ic-navigation-item>
Expand Down

0 comments on commit 0cf16e9

Please sign in to comment.