Skip to content

Commit

Permalink
fix: invalid attribute value for aria-current
Browse files Browse the repository at this point in the history
  • Loading branch information
alexisfontaine authored Nov 28, 2023
1 parent b578660 commit e61672e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion router/src/components/link.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ where
target=target
prop:state=state.map(|s| s.to_js_value())
prop:replace=replace
aria-current=move || if is_active.get() { Some("a") } else { None }
aria-current=move || if is_active.get() { Some("page") } else { None }
class=class
id=id
>
Expand Down

0 comments on commit e61672e

Please sign in to comment.