mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-10 06:34:20 +00:00
fix: typo (#2202)
This commit is contained in:
parent
0850dcba5e
commit
ffe02b43c5
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ fn main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn app() -> Element {
|
fn app() -> Element {
|
||||||
// Create a future that will resolve once the javascript has been succesffully executed.
|
// Create a future that will resolve once the javascript has been successfully executed.
|
||||||
let future = use_resource(move || async move {
|
let future = use_resource(move || async move {
|
||||||
// Wait a little bit just to give the appearance of a loading screen
|
// Wait a little bit just to give the appearance of a loading screen
|
||||||
tokio::time::sleep(tokio::time::Duration::from_secs(1)).await;
|
tokio::time::sleep(tokio::time::Duration::from_secs(1)).await;
|
||||||
|
|
Loading…
Reference in a new issue