We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4a216a1 + 038f254 commit 0008353Copy full SHA for 0008353
README.md
@@ -85,7 +85,7 @@ import { href } from './router';
85
86
const ProjectCard = (props: { id: string }) => {
87
return (
88
- <Link to={href({ path: '/projects/:projectId', query: { projectId: props.id } })}>
+ <Link to={href({ path: '/projects/:projectId', params: { projectId: props.id } })}>
89
<p>Project {projectId}</p>
90
</Link>
91
);
0 commit comments