wip: move some examples around
This commit is contained in:
1 parent
cca7c5fc3a
commit
98a09339fd
70 files changed
+111
-117
No files matched your search
+1
-1
@@ -23,7 +23,7 @@ fn main() {
|
||||
}
|
||||
|
||||
static App: FC<()> = |cx| {
|
||||
let calc = use_model(&cx, || Calculator::new());
|
||||
let calc = use_model(cx, || Calculator::new());
|
||||
|
||||
let clear_display = calc.display_value.eq("0");
|
||||
let clear_text = if clear_display { "C" } else { "AC" };
|
||||
|
||||
Reference in new issue
Block a user