Standardizing bracket syntax

This commit is contained in:
James Barnsley
2017-10-10 13:05:28 +13:00
parent 0ca37b0f62
commit 2ffa337ffa
116 changed files with 7451 additions and 3246 deletions

View File

@ -5,18 +5,18 @@ import Thumbnail from './Thumbnail'
export default class RelatedArtists extends React.Component{
constructor(props) {
constructor(props){
super(props)
}
render(){
if( !this.props.artists ) return null
if (!this.props.artists ) return null
return (
<div className="list related-artist-list">
{
this.props.artists.map( (artist, index) => {
if( artist.uri ){
this.props.artists.map((artist, index) => {
if (artist.uri){
return (
<Link to={global.baseURL+'artist/'+ artist.uri} key={artist.uri} className="artist">
<Thumbnail circle={true} size="small" images={artist.images} />