Suspense start
This commit is contained in:
@@ -4,9 +4,13 @@ mod views;
|
||||
mod config_settings;
|
||||
|
||||
use app::App;
|
||||
use config_settings::init_config;
|
||||
use yew::platform::spawn_local;
|
||||
|
||||
fn main() {
|
||||
|
||||
console_error_panic_hook::set_once();
|
||||
yew::Renderer::<App>::new().render();
|
||||
spawn_local(async move {
|
||||
init_config().await;
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user