From d5a77f516920b427212b7edf5fac17c7accc4680 Mon Sep 17 00:00:00 2001 From: Marc Glasser Date: Wed, 9 Jun 2021 07:52:08 -1000 Subject: [PATCH] Use hrefAttrs for links --- .../AnchorForCommentsOnly/BaseAnchorForCommentsOnly/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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} >