fix tui benchmark

This commit is contained in:
= 2022-12-27 08:42:26 -06:00
parent 2444c5333f
commit 2e267eec63

View file

@ -65,7 +65,7 @@ fn Grid(cx: Scope<GridProps>) -> Element {
let count = use_state(cx, || 0);
let counts = use_ref(cx, || vec![0; size * size]);
let ctx: &TuiContext = cx.consume_context().unwrap();
let ctx: TuiContext = cx.consume_context().unwrap();
if *count.get() + 1 >= (size * size) {
ctx.quit();
} else {