fix(form_list): fix mismatched parenthesis on lift_form.rs

This commit is contained in:
ryan 2024-12-23 14:49:12 +03:00
parent 16b04fcc1e
commit 22e6ae38d4
3 changed files with 46 additions and 21 deletions

58
Cargo.lock generated
View File

@ -593,7 +593,7 @@ dependencies = [
"hashbrown 0.13.2", "hashbrown 0.13.2",
"instant", "instant",
"once_cell", "once_cell",
"thiserror", "thiserror 1.0.69",
] ]
[[package]] [[package]]
@ -731,11 +731,13 @@ dependencies = [
"nostr-sdk", "nostr-sdk",
"serde", "serde",
"serde_json", "serde_json",
"thiserror 2.0.9",
"tokio", "tokio",
"uuid", "uuid",
"wasm-bindgen", "wasm-bindgen",
"wasm-bindgen-futures", "wasm-bindgen-futures",
"web-sys", "web-sys",
"zerofrom",
] ]
[[package]] [[package]]
@ -1142,7 +1144,7 @@ dependencies = [
"pin-project", "pin-project",
"serde", "serde",
"serde_json", "serde_json",
"thiserror", "thiserror 1.0.69",
"wasm-bindgen", "wasm-bindgen",
"wasm-bindgen-futures", "wasm-bindgen-futures",
"web-sys", "web-sys",
@ -1163,7 +1165,7 @@ dependencies = [
"pin-project", "pin-project",
"serde", "serde",
"serde_json", "serde_json",
"thiserror", "thiserror 1.0.69",
"wasm-bindgen", "wasm-bindgen",
"wasm-bindgen-futures", "wasm-bindgen-futures",
"web-sys", "web-sys",
@ -1621,7 +1623,7 @@ dependencies = [
"config", "config",
"regex", "regex",
"serde", "serde",
"thiserror", "thiserror 1.0.69",
"typed-builder", "typed-builder",
] ]
@ -1744,7 +1746,7 @@ dependencies = [
"serde-wasm-bindgen", "serde-wasm-bindgen",
"serde_json", "serde_json",
"slotmap", "slotmap",
"thiserror", "thiserror 1.0.69",
"tokio", "tokio",
"tracing", "tracing",
"wasm-bindgen", "wasm-bindgen",
@ -1776,7 +1778,7 @@ dependencies = [
"serde", "serde",
"serde_json", "serde_json",
"serde_qs 0.13.0", "serde_qs 0.13.0",
"thiserror", "thiserror 1.0.69",
"tracing", "tracing",
"url", "url",
"wasm-bindgen", "wasm-bindgen",
@ -1796,7 +1798,7 @@ dependencies = [
"leptos_reactive", "leptos_reactive",
"serde", "serde",
"server_fn", "server_fn",
"thiserror", "thiserror 1.0.69",
"tracing", "tracing",
] ]
@ -2002,7 +2004,7 @@ dependencies = [
"async-trait", "async-trait",
"lru 0.12.5", "lru 0.12.5",
"nostr", "nostr",
"thiserror", "thiserror 1.0.69",
"tokio", "tokio",
"tracing", "tracing",
] ]
@ -2020,7 +2022,7 @@ dependencies = [
"negentropy 0.4.3", "negentropy 0.4.3",
"nostr", "nostr",
"nostr-database", "nostr-database",
"thiserror", "thiserror 1.0.69",
"tokio", "tokio",
"tokio-stream", "tokio-stream",
"tracing", "tracing",
@ -2037,7 +2039,7 @@ dependencies = [
"nostr", "nostr",
"nostr-database", "nostr-database",
"nostr-relay-pool", "nostr-relay-pool",
"thiserror", "thiserror 1.0.69",
"tokio", "tokio",
"tracing", "tracing",
] ]
@ -2064,7 +2066,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c51ebcefb2f0b9a5e0bea115532c8ae4215d1b01eff176d0f4ba4192895c2708" checksum = "c51ebcefb2f0b9a5e0bea115532c8ae4215d1b01eff176d0f4ba4192895c2708"
dependencies = [ dependencies = [
"serde", "serde",
"thiserror", "thiserror 1.0.69",
] ]
[[package]] [[package]]
@ -2440,7 +2442,7 @@ dependencies = [
"quote", "quote",
"syn 2.0.90", "syn 2.0.90",
"syn_derive", "syn_derive",
"thiserror", "thiserror 1.0.69",
] ]
[[package]] [[package]]
@ -2631,7 +2633,7 @@ checksum = "0431a35568651e363364210c91983c1da5eb29404d9f0928b67d4ebcfa7d330c"
dependencies = [ dependencies = [
"percent-encoding", "percent-encoding",
"serde", "serde",
"thiserror", "thiserror 1.0.69",
] ]
[[package]] [[package]]
@ -2642,7 +2644,7 @@ checksum = "cd34f36fe4c5ba9654417139a9b3a20d2e1de6012ee678ad14d240c22c78d8d6"
dependencies = [ dependencies = [
"percent-encoding", "percent-encoding",
"serde", "serde",
"thiserror", "thiserror 1.0.69",
] ]
[[package]] [[package]]
@ -2697,7 +2699,7 @@ dependencies = [
"serde_json", "serde_json",
"serde_qs 0.12.0", "serde_qs 0.12.0",
"server_fn_macro_default", "server_fn_macro_default",
"thiserror", "thiserror 1.0.69",
"url", "url",
"wasm-bindgen", "wasm-bindgen",
"wasm-bindgen-futures", "wasm-bindgen-futures",
@ -2877,7 +2879,16 @@ version = "1.0.69"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
dependencies = [ dependencies = [
"thiserror-impl", "thiserror-impl 1.0.69",
]
[[package]]
name = "thiserror"
version = "2.0.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f072643fd0190df67a8bab670c20ef5d8737177d6ac6b2e9a236cb096206b2cc"
dependencies = [
"thiserror-impl 2.0.9",
] ]
[[package]] [[package]]
@ -2891,6 +2902,17 @@ dependencies = [
"syn 2.0.90", "syn 2.0.90",
] ]
[[package]]
name = "thiserror-impl"
version = "2.0.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7b50fa271071aae2e6ee85f842e2e28ba8cd2c5fb67f11fcb1fd70b276f9e7d4"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.90",
]
[[package]] [[package]]
name = "time" name = "time"
version = "0.3.37" version = "0.3.37"
@ -2994,7 +3016,7 @@ checksum = "0d4770b8024672c1101b3f6733eab95b18007dbe0847a8afe341fcf79e06043f"
dependencies = [ dependencies = [
"either", "either",
"futures-util", "futures-util",
"thiserror", "thiserror 1.0.69",
"tokio", "tokio",
] ]
@ -3120,7 +3142,7 @@ dependencies = [
"rustls", "rustls",
"rustls-pki-types", "rustls-pki-types",
"sha1", "sha1",
"thiserror", "thiserror 1.0.69",
"utf-8", "utf-8",
] ]

View File

@ -25,6 +25,8 @@ gloo-net = "0.5"
futures = "0.3" futures = "0.3"
wasm-bindgen-futures = "0.4" wasm-bindgen-futures = "0.4"
serde_json="1.0.133" serde_json="1.0.133"
thiserror = "2.0.9"
zerofrom = "0.1"
[features] [features]
csr = ["leptos/csr", "leptos_meta/csr", "leptos_router/csr"] csr = ["leptos/csr", "leptos_meta/csr", "leptos_router/csr"]

View File

@ -140,11 +140,12 @@ pub fn ItemsList(
item.name = suggestion.label.clone(); item.name = suggestion.label.clone();
} }
}); });
}}> }>
{ format!("{} - {}", suggestion.label, suggestion.description.clone().unwrap_or_default()) } { format!("{} - {}", suggestion.label, suggestion.description.clone().unwrap_or_default()) }
</li> </li>
} }
}).collect::<Vec<_>>()
}).collect::<Vec<_>>()
}} }}
</ul> </ul>
</td> </td>