Skip to content

Commit

Permalink
update to current versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherBiscardi committed Aug 31, 2024
1 parent 6532825 commit aef9e37
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
16 changes: 11 additions & 5 deletions crates/www/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,22 @@ edition = "2021"
crate-type = ["cdylib", "rlib"]

[dependencies]
leptos_meta = { git = "https://github.com/leptos-rs/leptos", branch = "leptos_0.7" }
leptos-use = { git = "https://github.com/Synphonyte/leptos-use.git", branch = "leptos-0.7", default-features = false, features = [
"use_scroll",
"use_window",
"use_event_listener",
] }
leptos_meta = { git = "https://github.com/leptos-rs/leptos" }
axum = { version = "0.7", optional = true }
console_error_panic_hook = "0.1"
leptos = { git = "https://github.com/leptos-rs/leptos", branch = "leptos_0.7", features = [
leptos = { git = "https://github.com/leptos-rs/leptos", features = [
"nightly",
"experimental-islands",
] }
leptos_axum = { git = "https://github.com/leptos-rs/leptos", branch = "leptos_0.7", optional = true }
leptos_router = { git = "https://github.com/leptos-rs/leptos", branch = "leptos_0.7", features = [
leptos_axum = { git = "https://github.com/leptos-rs/leptos", optional = true }
leptos_router = { git = "https://github.com/leptos-rs/leptos", features = [
"nightly",
] }
leptos-use = { git = "https://github.com/Synphonyte/leptos-use.git", branch = "leptos-0.7" }
tokio = { version = "1", features = ["rt-multi-thread"], optional = true }
tower = { version = "0.4", optional = true }
tower-http = { version = "0.5", features = ["fs"], optional = true }
Expand All @@ -42,6 +46,8 @@ ssr = [
"dep:tracing",
]

[patch]


[package.metadata.leptos]
# The name used by wasm-bindgen/cargo-leptos for the JS/WASM bundle. Defaults to the crate name
Expand Down
2 changes: 1 addition & 1 deletion crates/www/src/components/button.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ pub fn Button(
view! {
<button
type="button"
on:click=move |_| on_click(())
on:click=move |_| on_click.run(())
class=classes>
{children()}
</button>
Expand Down

0 comments on commit aef9e37

Please sign in to comment.