mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
chore: clear warning
This commit is contained in:
parent
f32d43ce94
commit
07e878adf7
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ fn SlotIf(
|
|||
|
||||
#[component]
|
||||
pub fn App() -> impl IntoView {
|
||||
let (count, set_count) = create_signal(0);
|
||||
let (count, set_count) = signal(0);
|
||||
let is_even = MaybeSignal::derive(move || count.get() % 2 == 0);
|
||||
let is_div5 = MaybeSignal::derive(move || count.get() % 5 == 0);
|
||||
let is_div7 = MaybeSignal::derive(move || count.get() % 7 == 0);
|
||||
|
|
Loading…
Reference in a new issue