Skip to content

Commit

Permalink
state as last clone
Browse files Browse the repository at this point in the history
  • Loading branch information
tikitko committed Aug 12, 2023
1 parent b5dc0bc commit eb6d6b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/yew-router/src/components/link.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ where
let onclick = {
let navigator = navigator.clone();
let to = to.clone();
let state = state.clone();
let query = query.clone();
let state = state.clone();

Callback::from(move |e: MouseEvent| {
if e.meta_key() || e.ctrl_key() || e.shift_key() || e.alt_key() {
Expand Down

0 comments on commit eb6d6b1

Please sign in to comment.