// NPM imports import React, { Component, PropTypes } from "react"; import CSSModules from "react-css-modules"; import { defineMessages, FormattedMessage } from "react-intl"; import FontAwesome from "react-fontawesome"; import Immutable from "immutable"; // Local imports import { messagesMap } from "../utils/"; // Other components import { AlbumRow } from "./Album"; import DismissibleAlert from "./elements/DismissibleAlert"; // Translations import commonMessages from "../locales/messagesDescriptors/common"; // Styles import css from "../styles/Artist.scss"; // Define translations const artistMessages = defineMessages(messagesMap(Array.concat([], commonMessages))); /** * Single artist page */ class ArtistCSS extends Component { render () { // Define loading message let loading = null; if (this.props.isFetching) { loading = (
{this.props.artist.get("summary")}