diff --git a/Cargo.toml b/Cargo.toml index 091f8f8..349f4c4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,5 +16,5 @@ thaw_components = { version = "0.1.1", path = "./thaw_components" } thaw_macro = { version = "0.1.0", path = "./thaw_macro" } thaw_utils = { version = "0.0.3", path = "./thaw_utils" } -leptos = { git = "https://github.com/leptos-rs/leptos", rev = "ae0dc13c" } -leptos_meta = { git = "https://github.com/leptos-rs/leptos", rev = "ae0dc13c" } \ No newline at end of file +leptos = { git = "https://github.com/leptos-rs/leptos", rev = "e507945c" } +leptos_meta = { git = "https://github.com/leptos-rs/leptos", rev = "e507945c" } \ No newline at end of file diff --git a/demo/Cargo.toml b/demo/Cargo.toml index 7c357c5..e84b502 100644 --- a/demo/Cargo.toml +++ b/demo/Cargo.toml @@ -9,14 +9,14 @@ edition = "2021" [dependencies] leptos = { workspace = true } leptos_meta = { workspace = true } -leptos_router = { git = "https://github.com/leptos-rs/leptos", rev = "ae0dc13c" } +leptos_router = { git = "https://github.com/leptos-rs/leptos", rev = "e507945c" } thaw = { path = "../thaw" } demo_markdown = { path = "../demo_markdown" } icondata = "0.3.0" palette = "0.7.4" chrono = "0.4.33" cfg-if = "1.0.0" -leptos-use = "0.10.10" +# leptos-use = "0.10.10" send_wrapper = "0.6" [features] diff --git a/demo/src/app.rs b/demo/src/app.rs index 1b483a7..b10d97d 100644 --- a/demo/src/app.rs +++ b/demo/src/app.rs @@ -30,7 +30,7 @@ pub fn App() -> impl IntoView { #[component] fn TheRouter(is_routing: RwSignal) -> impl IntoView { - let loading_bar = use_loading_bar(); + let loading_bar = LoadingBarInjection::expect_use(); _ = is_routing.watch(move |is_routing| { if *is_routing { loading_bar.start(); diff --git a/demo/src/pages/home.rs b/demo/src/pages/home.rs index 58d3085..7bba7e9 100644 --- a/demo/src/pages/home.rs +++ b/demo/src/pages/home.rs @@ -22,7 +22,7 @@ pub fn Home() -> impl IntoView {