Skip to content

Commit

Permalink
Fix missing prop
Browse files Browse the repository at this point in the history
  • Loading branch information
zoontek committed Jan 22, 2025
1 parent 0718590 commit e17f6f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/linking-to-a-route.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ We provide a default `Link` component, but you can also create yours if needed u
import { useLinkProps } from "@swan-io/chicane";
import cx from "classnames";

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

return (
Expand Down

0 comments on commit e17f6f4

Please sign in to comment.