From 164e4952655c1bd8448d07d00b69f6702250f8d0 Mon Sep 17 00:00:00 2001 From: luoxiao Date: Sun, 18 Jun 2023 23:00:59 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20update=20leptos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.toml | 6 +++--- examples/basic/Cargo.toml | 6 +++--- gh-pages/Cargo.toml | 6 +++--- gh-pages/src/pages/menu/mod.rs | 12 +++++------- 4 files changed, 14 insertions(+), 16 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index aaf1219..2c41732 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,13 +13,13 @@ license = "MIT" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -leptos = { git = "https://github.com/leptos-rs/leptos.git", rev = "3d75c71", features = [ +leptos = { git = "https://github.com/leptos-rs/leptos.git", rev = "3a570dc", features = [ "stable", ] } stylers = "0.3.1" web-sys = { version = "0.3.62", features = ["DomRect"] } -leptos_dom = { git = "https://github.com/leptos-rs/leptos.git", rev = "3d75c71" } -leptos_icons = { git = "https://github.com/luoxiaozero/leptos-icons.git", rev = "4fe4417", features = [ +leptos_dom = { git = "https://github.com/leptos-rs/leptos.git", rev = "3a570dc" } +leptos_icons = { git = "https://github.com/luoxiaozero/leptos-icons.git", rev = "9d52325", features = [ "AiCloseOutlined", "AiCheckOutlined", "AiLeftOutlined", diff --git a/examples/basic/Cargo.toml b/examples/basic/Cargo.toml index fd93e3e..25f8959 100644 --- a/examples/basic/Cargo.toml +++ b/examples/basic/Cargo.toml @@ -6,11 +6,11 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -leptos = { git = "https://github.com/leptos-rs/leptos.git", rev = "3d75c71", features = [ +leptos = { git = "https://github.com/leptos-rs/leptos.git", rev = "3a570dc", features = [ "stable", ] } melt-ui = { path = "../../" } -leptos_icons = { git = "https://github.com/luoxiaozero/leptos-icons.git", rev = "4fe4417", features = ["AiCloseOutlined", "AiCheckOutlined"] } -leptos_router = { git = "https://github.com/leptos-rs/leptos.git", rev = "3d75c71", features = ["csr"] } +leptos_icons = { git = "https://github.com/luoxiaozero/leptos-icons.git", rev = "9d52325", features = ["AiCloseOutlined", "AiCheckOutlined"] } +leptos_router = { git = "https://github.com/leptos-rs/leptos.git", rev = "3a570dc", features = ["csr"] } regex = "1.8.2" \ No newline at end of file diff --git a/gh-pages/Cargo.toml b/gh-pages/Cargo.toml index e4fdbbd..9c7f57e 100644 --- a/gh-pages/Cargo.toml +++ b/gh-pages/Cargo.toml @@ -6,11 +6,11 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -leptos = { git = "https://github.com/leptos-rs/leptos.git", rev = "3d75c71", features = [ +leptos = { git = "https://github.com/leptos-rs/leptos.git", rev = "3a570dc", features = [ "stable", ] } melt-ui = { path = "../" } -leptos_icons = { git = "https://github.com/luoxiaozero/leptos-icons.git", rev = "4fe4417", features = ["AiCloseOutlined", "AiCheckOutlined"] } -leptos_router = { git = "https://github.com/leptos-rs/leptos.git", rev = "3d75c71", features = ["csr"] } +leptos_icons = { git = "https://github.com/luoxiaozero/leptos-icons.git", rev = "9d52325", features = ["AiCloseOutlined", "AiCheckOutlined"] } +leptos_router = { git = "https://github.com/leptos-rs/leptos.git", rev = "3a570dc", features = ["csr"] } regex = "1.8.2" \ No newline at end of file diff --git a/gh-pages/src/pages/menu/mod.rs b/gh-pages/src/pages/menu/mod.rs index 2e13f97..248f5de 100644 --- a/gh-pages/src/pages/menu/mod.rs +++ b/gh-pages/src/pages/menu/mod.rs @@ -5,12 +5,10 @@ use melt_ui::*; pub fn MenuPage(cx: Scope) -> impl IntoView { let selected = create_rw_signal(cx, String::from("o")); view! { cx, - <> - { move || selected.get() } - - - - - + { move || selected.get() } + + + + } }