mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-14 00:27:12 +00:00
chore: clear warning
This commit is contained in:
parent
7a1e09c036
commit
18d9f968b2
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