Commit 416211e1 authored by Petter Goksøyr Åsen's avatar Petter Goksøyr Åsen
Browse files

patron-client: linting

parent 357a5685
......@@ -37,11 +37,7 @@ class Publication extends React.Component {
const { publication, startReservation } = this.props
const languages = [ ...new Set(publication.languages.map(language => this.props.intl.formatMessage({ id: language }))) ]
const formats = [ ...new Set(publication.formats.map(format => this.props.intl.formatMessage({ id: format }))) ]
const publicationYearLanguageSeparator = () => {
if (publication.publicationYear && publication.languages.length > 0) {
return ', '
}
}
return (
<article onClick={this.handleClick}
className={this.props.open ? 'single-publication open' : 'single-publication'}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment