Skip to content

Commit 8a254ee

Browse files
authored
Merge pull request #3486 from Expensify/marcaaron-fixAnchorsInComments
Use hrefAttrs for links
2 parents 48e39fb + d5a77f5 commit 8a254ee

File tree

1 file changed

+1
-2
lines changed
  • src/components/AnchorForCommentsOnly/BaseAnchorForCommentsOnly

1 file changed

+1
-2
lines changed

src/components/AnchorForCommentsOnly/BaseAnchorForCommentsOnly/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ const BaseAnchorForCommentsOnly = ({
1717
style={StyleSheet.flatten(style)}
1818
accessibilityRole="link"
1919
href={href}
20-
rel={rel}
21-
target={target}
20+
hrefAttrs={{rel, target}}
2221
// eslint-disable-next-line react/jsx-props-no-spreading
2322
{...props}
2423
>

0 commit comments

Comments
 (0)