Setup stable toolchain
This commit is contained in:
@@ -14,7 +14,7 @@ members = [
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
console_error_panic_hook = "0.1.7"
|
console_error_panic_hook = "0.1.7"
|
||||||
leptos = { version = "0.8.1", features = ["csr", "nightly"] }
|
leptos = { version = "0.8.1", features = ["csr"] }
|
||||||
sqlite-wasm-rs = { git = "https://github.com/Spxg/sqlite-wasm-rs.git", default-features = false, features = ["precompiled"] }
|
sqlite-wasm-rs = { git = "https://github.com/Spxg/sqlite-wasm-rs.git", default-features = false, features = ["precompiled"] }
|
||||||
istyles = { path = "crates/istyles" }
|
istyles = { path = "crates/istyles" }
|
||||||
aceditor = { path = "crates/aceditor" }
|
aceditor = { path = "crates/aceditor" }
|
||||||
|
|||||||
3
rust-toolchain.toml
Normal file
3
rust-toolchain.toml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
[toolchain]
|
||||||
|
channel = "1.87.0"
|
||||||
|
targets = ["wasm32-unknown-unknown"]
|
||||||
@@ -40,7 +40,7 @@ where
|
|||||||
}
|
}
|
||||||
|
|
||||||
if event.key() == "Escape" {
|
if event.key() == "Escape" {
|
||||||
set_open(false);
|
set_open.set(false);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -75,7 +75,7 @@ where
|
|||||||
.as_ref()
|
.as_ref()
|
||||||
.is_some_and(|floating| floating.deref().contains(node.as_ref()))
|
.is_some_and(|floating| floating.deref().contains(node.as_ref()))
|
||||||
}) {
|
}) {
|
||||||
set_open(false);
|
set_open.set(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@@ -183,7 +183,7 @@ where
|
|||||||
let float = move || {
|
let float = move || {
|
||||||
let menu_clone = Arc::clone(&menu);
|
let menu_clone = Arc::clone(&menu);
|
||||||
view! {
|
view! {
|
||||||
<Show when=is_open fallback=|| ()>
|
<Show when=move || is_open.get() fallback=|| ()>
|
||||||
<div
|
<div
|
||||||
class=styles::container
|
class=styles::container
|
||||||
node_ref=floating_ref
|
node_ref=floating_ref
|
||||||
|
|||||||
Reference in New Issue
Block a user