mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
chore: fix unused variable warning in property now that it's not memoized (#810)
This commit is contained in:
parent
8b57ba7aa8
commit
fa1013f7c3
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ pub(crate) fn property_helper(
|
|||
match value {
|
||||
Property::Fn(cx, f) => {
|
||||
let el = el.clone();
|
||||
create_render_effect(cx, move |old| {
|
||||
create_render_effect(cx, move |_| {
|
||||
let new = f();
|
||||
let prop_name = wasm_bindgen::intern(&name);
|
||||
property_expression(&el, prop_name, new.clone());
|
||||
|
|
Loading…
Reference in a new issue