Skip to content

Commit

Permalink
Update 18_params_and_queries.md (#80)
Browse files Browse the repository at this point in the history
I am not sure if any other notes need to be made. The Sandbox uses the map so it does not use structs.
  • Loading branch information
crs117 authored Mar 22, 2024
1 parent ccf8916 commit 27bb5be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/router/18_params_and_queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ The untyped versions hold a simple key-value map. To use the typed versions, der
use leptos::*;
use leptos_router::*;

#[derive(Params)]
#[derive(Params, PartialEq)]
struct ContactParams {
id: usize
}

#[derive(Params)]
#[derive(Params, PartialEq)]
struct ContactSearch {
q: String
}
Expand Down

0 comments on commit 27bb5be

Please sign in to comment.