Skip to content

Commit a4efc83

Browse files
author
Chris
committed
Remove unneeded block that was braking wasm
1 parent 95b8299 commit a4efc83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ pub fn main() {
2323
}
2424

2525
async fn run(event_loop: EventLoop<()>, window: Arc<Window>) {
26-
let mut app = pollster::block_on(App::new(window));
26+
let mut app = App::new(window).await;
2727
let _ = event_loop.run_app(&mut app);
2828
}

0 commit comments

Comments
 (0)