Fix GTK example

This commit is contained in:
Greg Johnston 2022-11-29 07:07:10 -05:00
parent 5f58db40f0
commit c7dd6200e8
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ const APP_ID: &str = "dev.leptos.Counter";
// Basic GTK app setup from https://gtk-rs.org/gtk4-rs/stable/latest/book/hello_world.html
fn main() {
_ = create_scope(|cx| {
_ = create_scope(create_runtime(), |cx| {
// Create a new application
let app = Application::builder().application_id(APP_ID).build();