Browse Source

Add `key` to footer links to appease React

pull/9325/head
J. Ryan Stinnett 3 years ago
parent
commit
fa10022496
  1. 4
      src/components/views/auth/VectorAuthFooter.js

4
src/components/views/auth/VectorAuthFooter.js

@ -43,7 +43,9 @@ module.exports = React.createClass({
const authFooterLinks = [];
for (const linkEntry of links) {
authFooterLinks.push(
<a href={linkEntry.url} target="_blank" rel="noopener">{linkEntry.text}</a>,
<a href={linkEntry.url} key={linkEntry.text} target="_blank" rel="noopener">
{linkEntry.text}
</a>,
);
}

Loading…
Cancel
Save