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

+4 -4
View File
@@ -31,9 +31,9 @@ impl Label {
}
}
fn app(cx: Scope) -> Element {
let items = use_ref(cx, Vec::new);
let selected = use_state(cx, || None);
fn app() -> Element {
let items = use_ref(Vec::new);
let selected = use_state(|| None);
cx.render(rsx! {
div { class: "container",
@@ -97,7 +97,7 @@ struct ActionButtonProps<'a> {
onclick: EventHandler<'a>,
}
fn ActionButton<'a>(cx: Scope<'a, ActionButtonProps<'a>>) -> Element {
fn ActionButton(props: ActionButtonProps) -> Element {
cx.render(rsx! {
div {
class: "col-sm-6 smallpad",