Fix the router and stub out a number of crates to get compiling
This commit is contained in:
226 files changed
+1057
-1482
No files matched your search
@@ -166,10 +166,10 @@ impl State for Border {
|
||||
}
|
||||
|
||||
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
fn app(cx: Scope) -> Element {
|
||||
let count = use_state(cx, || 0);
|
||||
fn app() -> Element {
|
||||
let count = use_state(|| 0);
|
||||
|
||||
use_future(cx, (count,), |(count,)| async move {
|
||||
use_future((count,), |(count,)| async move {
|
||||
loop {
|
||||
tokio::time::sleep(std::time::Duration::from_secs(1)).await;
|
||||
count.set(*count + 1);
|
||||
@@ -185,7 +185,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
})
|
||||
}
|
||||
|
||||
fn Comp(cx: Scope) -> Element {
|
||||
fn Comp() -> Element {
|
||||
cx.render(rsx! {
|
||||
div{
|
||||
border: "",
|
||||
|
||||
Reference in new issue
Block a user