Skip to content

Commit

Permalink
chore: Update routing docs (#1457)
Browse files Browse the repository at this point in the history
  • Loading branch information
alimpens authored Jul 26, 2024
1 parent 1d425de commit 72bff49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions storybook/src/docs/developer-guide/routing-libraries.docs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ import { useLinkClickHandler, useHref } from "react-router-dom"

const ReactRouterLink = ({ component, to, ...restProps }) => {
const Tag = component
let href = useHref(to)
let handleClick = useLinkClickHandler(to)
const href = useHref(to)
const handleClick = useLinkClickHandler(to)

return (
<Tag
Expand Down

0 comments on commit 72bff49

Please sign in to comment.