Skip to content

Commit

Permalink
Lint: fix react/jsx-no-target-blank error
Browse files Browse the repository at this point in the history
The behavior of this rule changed in jsx-eslint/eslint-plugin-react#2953 and we upgraded the plugin in adeira/universe#2172

adeira-source-id: 4bcc4b66f25ba51caccfba42be35f691e02a0c55
  • Loading branch information
mrtnzlml authored and adeira-github-bot committed Apr 9, 2021
1 parent 2eeb645 commit b66d449
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Link/Link.js
Expand Up @@ -18,7 +18,6 @@ type Props = {
export default function Link(props: Props): React.Node {
const href = props.href;
const isExternalLink = /^https?:\/\//.test(href);
/* eslint-disable react/jsx-no-target-blank */
return (
<a
href={href}
Expand All @@ -29,7 +28,6 @@ export default function Link(props: Props): React.Node {
{props.children}
</a>
);
/* eslint-enable react/jsx-no-target-blank */
}

const styles = sx.create({
Expand Down

1 comment on commit b66d449

@vercel
Copy link

@vercel vercel bot commented on b66d449 Apr 9, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deployment failed with the following error:

Resource is limited - try again after in 7 minutes (more than 100, code: "api-deployments-free-per-day").

Please sign in to comment.