Skip to content

Commit e17f6f4

Browse files
committed
Fix missing prop
1 parent 0718590 commit e17f6f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/linking-to-a-route.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ We provide a default `Link` component, but you can also create yours if needed u
3838
import { useLinkProps } from "@swan-io/chicane";
3939
import cx from "classnames";
4040

41-
const Link = ({ className, activeClassName, to, ...props }) => {
41+
const Link = ({ to, replace, className, activeClassName, ...props }) => {
4242
const { active, onClick } = useLinkProps({ href: to, replace });
4343

4444
return (

0 commit comments

Comments
 (0)