Skip to content

Commit

Permalink
Merge branch 'main' into 118/feat-salvar-progresso-do-exercicio-no-ex…
Browse files Browse the repository at this point in the history
…ercicio
  • Loading branch information
stephanybrazeir0 authored Feb 5, 2025
2 parents 8f1bbf4 + 26be4c0 commit d265d55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/NavBar/WebNavBar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const WebMenu: React.FC<WebMenuProps> = ({ list }) => {
}

const linkStyle = (item: string) => {
return `/${item.toLowerCase()}` === pathname
return pathname.startsWith(`/${item.toLowerCase()}`)
? theme.customStyles.linkActive
: theme.customStyles.link
}
Expand Down

0 comments on commit d265d55

Please sign in to comment.