Skip to content

Commit

Permalink
fix: active dashboard link (#521)
Browse files Browse the repository at this point in the history
closes #469

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
  • Loading branch information
mbhrznr and iuioiua authored Sep 7, 2023
1 parent 5c47b8e commit 3319724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export default function Header(
<a
href="/dashboard"
class={cx(
props.url.pathname === "/dashboard"
props.url.pathname.startsWith("/dashboard")
? ACTIVE_LINK_STYLES
: LINK_STYLES,
NAV_ITEM,
Expand Down

0 comments on commit 3319724

Please sign in to comment.