Skip to content

Commit

Permalink
Patreon sponsor duplicate key issue (#1361)
Browse files Browse the repository at this point in the history
* Patreon sponsor duplicate key issue

* Removed duplicated entry
  • Loading branch information
whizsid authored and dmtrKovalenko committed Oct 24, 2019
1 parent 9a35b7e commit 0c8028c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 38 deletions.
9 changes: 2 additions & 7 deletions docs/_shared/PatreonSponsors.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,8 @@ class PatreonSponsors extends Component {

return (
<List className={classes.patronList}>
{patrons.map(patron => (
<a
className={classes.link}
key={patron.full_name}
href={patron.url}
rel="noopenner noreferrer"
>
{patrons.map((patron, key) => (
<a className={classes.link} key={key} href={patron.url} rel="noopenner noreferrer">
<ListItem button>
<Avatar className={classes.avatar} alt={patron.full_name} src={patron.image_url} />
<ListItemText primary={patron.full_name} secondary={patron.email} />
Expand Down
31 changes: 0 additions & 31 deletions docs/patrons.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,37 +123,6 @@
"vanity": null,
"youtube": null
},
{
"about": null,
"created": "2019-07-30T14:05:20.000+00:00",
"default_country_code": null,
"email": "[email protected]",
"facebook": null,
"first_name": "Felipe",
"full_name": "Felipe Pastor de Freitas Ferreira",
"gender": 0,
"image_url": "https://c8.patreon.com/2/200/22732849",
"is_email_verified": true,
"last_name": "Pastor de Freitas Ferreira",
"social_connections": {
"deviantart": null,
"discord": null,
"facebook": null,
"google": null,
"instagram": null,
"reddit": null,
"spotify": null,
"twitch": null,
"twitter": null,
"youtube": null
},
"thumb_url": "https://c8.patreon.com/2/200/22732849",
"twitch": null,
"twitter": null,
"url": "https://www.patreon.com/user?u=22732849",
"vanity": null,
"youtube": null
},
{
"about": null,
"created": "2019-07-30T14:05:20.000+00:00",
Expand Down

0 comments on commit 0c8028c

Please sign in to comment.