diff --git a/demo/src/components/site_header.rs b/demo/src/components/site_header.rs
index b5b17f9..6039c4f 100644
--- a/demo/src/components/site_header.rs
+++ b/demo/src/components/site_header.rs
@@ -117,7 +117,7 @@ pub fn SiteHeader() -> impl IntoView {
icon=icondata::AiIcon::AiGithubOutlined
round=true
style="font-size: 22px; padding: 0px 6px;"
- on:click=move |_| {
+ on_click=move |_| {
_ = window().open_with_url("http://github.com/thaw-ui/thaw");
}
/>
diff --git a/demo/src/pages/button/mod.rs b/demo/src/pages/button/mod.rs
index dc4543a..25cddb6 100644
--- a/demo/src/pages/button/mod.rs
+++ b/demo/src/pages/button/mod.rs
@@ -136,18 +136,10 @@ pub fn ButtonPage() -> impl IntoView {
"Size"
-
-
-
-
+
+
+
+
@@ -177,26 +169,14 @@ pub fn ButtonPage() -> impl IntoView {
-
-
-
+
+
+
-
-
-
+
+
+
diff --git a/demo/src/pages/home.rs b/demo/src/pages/home.rs
index 5bc7575..02f98e7 100644
--- a/demo/src/pages/home.rs
+++ b/demo/src/pages/home.rs
@@ -24,7 +24,7 @@ pub fn Home() -> impl IntoView {
}>"Read the docs"