Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 43d7ae2

Browse files
Fix active page link for Patterns
1 parent de7d67b commit 43d7ae2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/components/Header.jsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ const Header = props => {
7272
<StyledHeader>
7373
<StyledLinkContainer>
7474
{paths.map(({ path, page }) =>
75-
pathname === path ? (
75+
pathname === path ||(path==='/patterns'&&pathname.includes(path))? (
7676
<StyledRouterSpan key={page}>{page}</StyledRouterSpan>
7777
) : (
7878
<StyledRouterLink key={page} to={path}>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /