diff options
author | Eug-VS <eug-vs@keemail.me> | 2020-01-12 18:06:32 +0300 |
---|---|---|
committer | Eug-VS <eug-vs@keemail.me> | 2020-01-12 18:06:32 +0300 |
commit | c2d7aa43ab54726b4741bc426d63093ef6392a91 (patch) | |
tree | 3080e1c7db34219a18b759d47502cce05fb79c5e /src/pages | |
parent | fabb2a38f36a94a14219a40130eadda959b091eb (diff) | |
download | chrono-cube-ui-c2d7aa43ab54726b4741bc426d63093ef6392a91.tar.gz |
Resolve 'key' warning
Diffstat (limited to 'src/pages')
-rw-r--r-- | src/pages/Contribute/Contribute.js | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/pages/Contribute/Contribute.js b/src/pages/Contribute/Contribute.js index 0540742..6837f59 100644 --- a/src/pages/Contribute/Contribute.js +++ b/src/pages/Contribute/Contribute.js @@ -114,13 +114,12 @@ const Contribute = () => { { developers.map(developer => { const githubUrl = `https://github.com/${developer.username}`; - const avatarUrl = `${githubUrl}.png`; return ( - <> - <ListItem key={developer.username}> + <div key={developer.username}> + <ListItem> <Link href={githubUrl}> - <Avatar alt={developer.username} src={avatarUrl} /> + <Avatar alt={developer.username} src={`${githubUrl}.png`} /> </Link> <div> <Link href={githubUrl}> @@ -131,8 +130,8 @@ const Contribute = () => { </Typography> </div> </ListItem> - <Divider variant="middle"/> - </> + <Divider variant="middle" /> + </div> ) }) } |