diff --git a/src/components/Link.tsx b/src/components/Link.tsx index 41cb526cf..a866f52fb 100644 --- a/src/components/Link.tsx +++ b/src/components/Link.tsx @@ -59,6 +59,7 @@ const Link: React.FC = props => { href, target, rel, + state, ...linkProps } = props; @@ -104,7 +105,7 @@ const Link: React.FC = props => { pathname: urlObject.pathname, search: urlObject.search, hash: urlObject.hash, - state: props.state, + state, } } {...commonLinkProps}