|
|
|
@ -138,6 +138,8 @@ class AddNewBookSearchResult extends Component {
|
|
|
|
|
null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
editions && editions.length > 1 ?
|
|
|
|
|
<Link
|
|
|
|
|
className={styles.mbLink}
|
|
|
|
|
to={`https://goodreads.com/book/show/${editions[0].foreignEditionId}`}
|
|
|
|
@ -148,7 +150,8 @@ class AddNewBookSearchResult extends Component {
|
|
|
|
|
name={icons.EXTERNAL_LINK}
|
|
|
|
|
size={28}
|
|
|
|
|
/>
|
|
|
|
|
</Link>
|
|
|
|
|
</Link> : null
|
|
|
|
|
}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
@ -218,7 +221,7 @@ AddNewBookSearchResult.propTypes = {
|
|
|
|
|
overview: PropTypes.string,
|
|
|
|
|
ratings: PropTypes.object.isRequired,
|
|
|
|
|
author: PropTypes.object,
|
|
|
|
|
editions: PropTypes.arrayOf(PropTypes.object).isRequired,
|
|
|
|
|
editions: PropTypes.arrayOf(PropTypes.object),
|
|
|
|
|
images: PropTypes.arrayOf(PropTypes.object).isRequired,
|
|
|
|
|
isExistingBook: PropTypes.bool.isRequired,
|
|
|
|
|
isExistingAuthor: PropTypes.bool.isRequired,
|
|
|
|
|