diff --git a/src/components/AnchorForCommentsOnly/BaseAnchorForCommentsOnly/index.js b/src/components/AnchorForCommentsOnly/BaseAnchorForCommentsOnly/index.js index 37faebd2ee02..9082f8ad396b 100644 --- a/src/components/AnchorForCommentsOnly/BaseAnchorForCommentsOnly/index.js +++ b/src/components/AnchorForCommentsOnly/BaseAnchorForCommentsOnly/index.js @@ -17,8 +17,7 @@ const BaseAnchorForCommentsOnly = ({ style={StyleSheet.flatten(style)} accessibilityRole="link" href={href} - rel={rel} - target={target} + hrefAttrs={{rel, target}} // eslint-disable-next-line react/jsx-props-no-spreading {...props} >