This commit is contained in:
Christos KK Loverdos 2024-03-31 18:24:24 +03:00 committed by GitHub
parent 0850dcba5e
commit ffe02b43c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,7 +10,7 @@ fn main() {
}
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 {
// Wait a little bit just to give the appearance of a loading screen
tokio::time::sleep(tokio::time::Duration::from_secs(1)).await;