Skip to content

Commit 84553c4

Browse files
committed
doc...
1 parent 3603291 commit 84553c4

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

packages/router/src/hooks/use_route.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,11 @@ use crate::Routable;
66
/// > The Routable macro will define a version of this hook with an explicit type.
77
///
88
/// # Panic
9-
/// - When the calling component is not nested within a [`Router`] component.
9+
/// - When the calling component is not nested within a [`crate::Router`] component.
1010
///
1111
/// # Example
1212
/// ```rust
1313
/// # use dioxus::prelude::*;
14-
/// # use dioxus_router::{prelude::*};
1514
///
1615
/// #[derive(Clone, Routable)]
1716
/// enum Route {

packages/server/src/config.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ impl ServeConfigBuilder {
114114
}
115115

116116
/// Provide context to the root and server functions. You can use this context while rendering with [`consume_context`](dioxus_lib::prelude::consume_context)
117-
/// or in server functions with [`FromContext`](crate::prelude::FromContext).
117+
/// or in server functions with [`FromContext`](crate::FromContext).
118118
///
119119
///
120120
/// The context providers passed into this method will be called when the context type is requested which may happen many times in the lifecycle of the application.
@@ -183,7 +183,7 @@ impl ServeConfigBuilder {
183183
}
184184

185185
/// Provide context to the root and server functions. You can use this context
186-
/// while rendering with [`consume_context`](dioxus_lib::prelude::consume_context) or in server functions with [`FromContext`](crate::prelude::FromContext).
186+
/// while rendering with [`consume_context`](dioxus_lib::prelude::consume_context) or in server functions with [`FromContext`](crate::FromContext).
187187
///
188188
///
189189
/// The context providers passed into this method will be called when the context type is requested which may happen many times in the lifecycle of the application.
@@ -247,7 +247,7 @@ impl ServeConfigBuilder {
247247
}
248248

249249
/// Provide context to the root and server functions. You can use this context while rendering with [`consume_context`](dioxus_lib::prelude::consume_context)
250-
/// or in server functions with [`FromContext`](crate::prelude::FromContext).
250+
/// or in server functions with [`FromContext`](crate::FromContext).
251251
///
252252
/// Context will be forwarded from the LaunchBuilder if it is provided.
253253
///

packages/server/src/context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ mod server_fn_impl {
126126
}
127127
}
128128

129-
/// Clone a value from the shared server context. If you are using [`DioxusRouterExt`](crate::prelude::DioxusRouterExt), any values you insert into
129+
/// Clone a value from the shared server context. If you are using [`DioxusRouterExt`](crate::DioxusRouterExt), any values you insert into
130130
/// the launch context will also be available in the server context.
131131
///
132132
/// Example:

0 commit comments

Comments
 (0)