fix constructing no argument components

This commit is contained in:
Evan Almloff committed 2024-01-11 11:44:18 -06:00
1 parent 1794debf79
commit bcbb647d02
5 files changed
+40 -23

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ use dioxus::prelude::*;
#[test]
fn state_shares() {
fn app() -> Element {
cx.provide_context(generation() as i32);
cx.provide_context(generation().unwrap() as i32);
render!(child_1 {})
}