Skip to content

Commit

Permalink
Fix override props
Browse files Browse the repository at this point in the history
  • Loading branch information
lex111 committed Nov 13, 2019
1 parent 39fbdc6 commit eda2bc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/docusaurus-theme-classic/src/theme/Footer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ function FooterLink({to, href, label, ...props}) {
return (
<Link
className="footer__link-item"
{...props}
{...(href
? {
target: '_blank',
Expand All @@ -27,7 +26,8 @@ function FooterLink({to, href, label, ...props}) {
}
: {
to: toUrl,
})}>
})}
{...props}>
{label}
</Link>
);
Expand Down

0 comments on commit eda2bc7

Please sign in to comment.