fix CI
This commit is contained in:
1 parent
577f99e68c
commit
a9307e57e6
23 files changed
+160
-164
No files matched your search
@@ -24,8 +24,7 @@ pub struct GenericHistoryButtonProps<'a> {
|
||||
/// ```rust
|
||||
/// # use dioxus::prelude::*;
|
||||
/// # use dioxus_router::prelude::*;
|
||||
/// # use serde::{Deserialize, Serialize};
|
||||
/// #[derive(Clone, Serialize, Deserialize, Routable)]
|
||||
/// #[derive(Clone, Routable)]
|
||||
/// enum Route {
|
||||
/// #[route("/")]
|
||||
/// Index {},
|
||||
@@ -98,8 +97,7 @@ pub fn GenericGoBackButton<'a, R: Routable>(
|
||||
/// ```rust
|
||||
/// # use dioxus::prelude::*;
|
||||
/// # use dioxus_router::prelude::*;
|
||||
/// # use serde::{Deserialize, Serialize};
|
||||
/// #[derive(Clone, Serialize, Deserialize, Routable)]
|
||||
/// #[derive(Clone, Routable)]
|
||||
/// enum Route {
|
||||
/// #[route("/")]
|
||||
/// Index {},
|
||||
|
||||
@@ -83,9 +83,8 @@ impl<R: Routable> Debug for GenericLinkProps<'_, R> {
|
||||
/// ```rust
|
||||
/// # use dioxus::prelude::*;
|
||||
/// # use dioxus_router::prelude::*;
|
||||
/// # use serde::{Deserialize, Serialize};
|
||||
///
|
||||
/// #[derive(Clone, Serialize, Deserialize, Routable)]
|
||||
/// #[derive(Clone, Routable)]
|
||||
/// enum Route {
|
||||
/// #[route("/")]
|
||||
/// Index {},
|
||||
|
||||
@@ -15,9 +15,8 @@ use dioxus::prelude::*;
|
||||
/// # Example
|
||||
/// ```rust
|
||||
/// # use dioxus::prelude::*;
|
||||
/// # use serde::{Deserialize, Serialize};
|
||||
/// # use dioxus_router::prelude::*;
|
||||
/// #[derive(Clone, Serialize, Deserialize, Routable)]
|
||||
/// #[derive(Clone, Routable)]
|
||||
/// #[rustfmt::skip]
|
||||
/// enum Route {
|
||||
/// #[nest("/wrap")]
|
||||
@@ -59,10 +58,7 @@ use dioxus::prelude::*;
|
||||
/// # fn App(cx: Scope) -> Element {
|
||||
/// # render! {
|
||||
/// # Router {
|
||||
/// # config: RouterConfiguration {
|
||||
/// # history: Box::new(MemoryHistory::with_initial_path("/wrap").unwrap()),
|
||||
/// # ..Default::default()
|
||||
/// # }
|
||||
/// # config: || RouterConfig::default().history(MemoryHistory::with_initial_path(Route::Child {}))
|
||||
/// # }
|
||||
/// # }
|
||||
/// # }
|
||||
|
||||
Reference in new issue
Block a user