From c236959c01e1ca1a806b526664c0ca3575b58e03 Mon Sep 17 00:00:00 2001 From: Jonas Weinz Date: Sun, 16 Oct 2022 17:12:02 +0200 Subject: [PATCH] fix deprecated method call in new project --- pyscript_bootstrap_templates/cli_interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyscript_bootstrap_templates/cli_interface.py b/pyscript_bootstrap_templates/cli_interface.py index 3eb4647..946cb92 100644 --- a/pyscript_bootstrap_templates/cli_interface.py +++ b/pyscript_bootstrap_templates/cli_interface.py @@ -201,7 +201,7 @@ div.font_size = 4 btn = bHTML.ButtonPrimary("Click me", parent=app.sidebar) btn.w = 100 btn.onclick = lambda _: bHTML.AlertSuccess( - "You clicked me!", parent=app.main_area) + "You clicked me!", parent=app.main) """ root_folder=pathlib.Path(root_folder)