-
Beta Was this translation helpful? Give feedback.
Answered by
ealmloff
Apr 18, 2024
Replies: 1 comment 1 reply
-
You need to clone onclick: {
// Clone
let romaji = kana.romaji.clone();
// Then move the clone into the closure
move || {kana_focus_state.set(romaji);}
} |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
katopz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to clone
kana.romaji
before moving it into the closure. or clone maybe_kana: