mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
fix: include missing query params in navigation when <ActionForm/>
receives a redirect (#728)
Previous solution in #727 included manually inserted `?` when a leading `?` is present automatically in `Url.search`.
This commit is contained in:
parent
286f3eebe4
commit
c2fdd2cd70
1 changed files with 4 additions and 1 deletions
|
@ -120,7 +120,10 @@ where
|
|||
Ok(url) => {
|
||||
request_animation_frame(move || {
|
||||
if let Err(e) = navigate(
|
||||
&url.pathname,
|
||||
&format!(
|
||||
"{}{}",
|
||||
url.pathname, url.search,
|
||||
),
|
||||
Default::default(),
|
||||
) {
|
||||
warn!("{}", e);
|
||||
|
|
Loading…
Reference in a new issue