Skip to content

Commit

Permalink
fix navigate js
Browse files Browse the repository at this point in the history
  • Loading branch information
HJfod committed Feb 24, 2023
1 parent 6642c51 commit 0e99c0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/builder/shared.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ fn fmt_type(entity: &Type, builder: &Builder) -> Html {
.with_attr_opt("href", link.clone())
.with_attr_opt(
"onclick",
link.map(|link| format!("return navigate('{link}'")),
link.map(|link| format!("return navigate('{link}')")),
)
.with_child(name)
.with_child_opt(match kind {
Expand Down

0 comments on commit 0e99c0e

Please sign in to comment.