mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
Fix gtk example
This commit is contained in:
parent
f10784f686
commit
72fe3d45f0
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue