Make clippy happy

This commit is contained in:
Jonathan Kelley committed 2024-01-05 12:54:39 -08:00
1 parent cbed09b95c
commit bc857bf339
9 files changed
+20 -14

No files matched your search

@@ -49,7 +49,6 @@ use crate::prelude::{Navigator, RouterContext};
/// # let _ = vdom.rebuild();
/// ```
#[must_use]
#[deprecated = "Prefer acquiring the router directly with `dioxus_router::router()`"]
pub fn use_navigator(cx: &ScopeState) -> &Navigator {
&*cx.use_hook(|| {
let router = cx