Skip to content

Commit

Permalink
fix: added role to the acceptable attributes for a link
Browse files Browse the repository at this point in the history
  • Loading branch information
zstix committed May 7, 2021
1 parent b80f1a4 commit 265c718
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/gatsby-theme-newrelic/src/components/Link.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const ATTRIBUTES = [
'target',
'type',
'children',
'role',
];

const Link = ({ to, onClick, instrumentation = {}, ...props }) => {
Expand Down

0 comments on commit 265c718

Please sign in to comment.