Experiment with call syntax only working for copy types

This commit is contained in:
Jonathan Kelley committed 2024-01-15 21:12:44 -08:00
1 parent bb750f5336
commit 33bba24867
19 files changed
+52 -76

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ fn Dice() -> Element {
];
let value = use_signal(|| 5);
let active_dots = use_selector(move || &DOTS_FOR_VALUE[(*value() - 1) as usize]);
let active_dots = use_selector(move || &DOTS_FOR_VALUE[(value() - 1) as usize]);
rsx! {
svg {