Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
fix anchor args to match tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rafegoldberg committed Sep 27, 2019
1 parent bdbda8f commit cd5dd11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/markdown/components/Anchor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function docLink(href) {
function Anchor(props) {
const { href, target, baseUrl, children } = props;
return (
<a target={target} href={getHref(href, baseUrl)} {...docLink(href)}>
<a href={getHref(href, baseUrl)} target={target} {...docLink(href)}>
{children}
</a>
);
Expand Down

0 comments on commit cd5dd11

Please sign in to comment.