mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
remove misleading warning
This commit is contained in:
parent
5065bed594
commit
320179bc04
1 changed files with 1 additions and 3 deletions
|
@ -67,9 +67,7 @@ pub fn Router(
|
|||
}
|
||||
});
|
||||
}) as RedirectHook;
|
||||
if server_fn::redirect::set_redirect_hook(router_hook).is_err() {
|
||||
debug_warn!("Error setting <Router/> server function redirect hook.");
|
||||
}
|
||||
_ = server_fn::redirect::set_redirect_hook(router_hook);
|
||||
|
||||
// provide ServerFnUrlError if it exists
|
||||
let location = use_location();
|
||||
|
|
Loading…
Reference in a new issue