Fix the router and stub out a number of crates to get compiling

This commit is contained in:
Jonathan Kelley committed 2024-01-13 20:51:37 -08:00
1 parent 4c6e515da4
commit fae0b08e61
226 files changed
+1057 -1482

No files matched your search

+2 -2
View File
@@ -55,8 +55,8 @@ struct AppProps {
#[allow(unused)]
fn app(cx: Scope<AppProps>) -> Element {
let mut count = use_state(cx, || cx.props.count);
let text = use_state(cx, || "...".to_string());
let mut count = use_state(|| cx.props.count);
let text = use_state(|| "...".to_string());
cx.render(rsx! {
h1 { "hello axum! {count}" }