Skip to content

Commit 9cff1c2

Browse files
author
hugur
committed
fix spread operator on external links
1 parent 285ace5 commit 9cff1c2

File tree

1 file changed

+1
-1
lines changed
  • gatsby-theme-w3f/src/components/default

1 file changed

+1
-1
lines changed

gatsby-theme-w3f/src/components/default/Link.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const Link = ({ to, title, children, ...other }) => {
55
const external = testExternalLink(to);
66
if (external) {
77
return (
8-
<a href={to} title={title} target="_blank" rel="noreferrer noopener">
8+
<a href={to} title={title} target="_blank" rel="noreferrer noopener" {...other}>
99
{children}
1010
</a>
1111
);

0 commit comments

Comments
 (0)