We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5b6eae commit 8dff4cdCopy full SHA for 8dff4cd
components/contributors/contributors.jsx
@@ -2,13 +2,17 @@ import React from 'react';
2
import './contributors-style';
3
4
export default ({contributors}) => {
5
+ if (!contributors.length) {
6
+ return <noscript />;
7
+ }
8
+
9
return (
10
<div className="contributors">
11
<h3>Contributors:</h3>
12
<div className="contributors__list">
- {
- (contributors || []).map((contributor) => (
- <a key={ contributor }
13
+ {
14
+ (contributors).map((contributor) => (
15
+ <a key={ contributor }
16
className="contributor"
17
href={ `https://github.com/${contributor}` }>
18
<img src={ `https://github.com/${contributor}.png?size=50` } />
0 commit comments