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

@@ -53,7 +53,7 @@ async fn main() {
}
#[component]
fn Blog(cx: Scope) -> Element {
fn Blog() -> Element {
render! {
div {
"Blog"
@@ -62,7 +62,7 @@ fn Blog(cx: Scope) -> Element {
}
#[component]
fn Post(cx: Scope, id: usize) -> Element {
fn Post(id: usize) -> Element {
render! {
div {
"PostId: {id}"
@@ -71,7 +71,7 @@ fn Post(cx: Scope, id: usize) -> Element {
}
#[component]
fn PostHome(cx: Scope) -> Element {
fn PostHome() -> Element {
render! {
div {
"Post"
@@ -80,7 +80,7 @@ fn PostHome(cx: Scope) -> Element {
}
#[component]
fn Home(cx: Scope) -> Element {
fn Home() -> Element {
render! {
div {
"Home"