fix: tests pass

This commit is contained in:
Jonathan Kelley committed 2022-03-04 13:16:37 -05:00
1 parent 06d4a5640b
commit c7627f0b93
10 files changed
+33 -18

No files matched your search

+2 -2
View File
@@ -11,7 +11,7 @@ use dioxus_html as dioxus_elements;
pub struct LinkProps<'a> {
/// The route to link to. This can be a relative path, or a full URL.
///
/// ```rust
/// ```rust, ignore
/// // Absolute path
/// Link { to: "/home", "Go Home" }
///
@@ -64,7 +64,7 @@ pub struct LinkProps<'a> {
///
/// # Examples
///
/// ```rust
/// ```rust, ignore
/// fn Header(cx: Scope) -> Element {
/// cx.render(rsx!{
/// Link { to: "/home", "Go Home" }
+2 -2
View File
@@ -9,7 +9,7 @@ use crate::use_router;
pub struct RedirectProps<'a> {
/// The route to link to. This can be a relative path, or a full URL.
///
/// ```rust
/// ```rust, ignore
/// // Absolute path
/// Redirect { from: "", to: "/home" }
///
@@ -20,7 +20,7 @@ pub struct RedirectProps<'a> {
/// The route to link from. This can be a relative path, or a full URL.
///
/// ```rust
/// ```rust, ignore
/// // Absolute path
/// Redirect { from: "", to: "/home" }
///
+1 -1
View File
@@ -22,7 +22,7 @@ pub struct RouteProps<'a> {
///
/// # Example
///
///```rust
///```rust, ignore
/// rsx!(
/// Router {
/// Route { to: "/home", Home {} }