|
|
@ -70,11 +70,13 @@ class AddNewMovieSearchResult extends Component {
|
|
|
|
const linkProps = isExistingMovie ? { to: `/movie/${titleSlug}` } : { onPress: this.onPress };
|
|
|
|
const linkProps = isExistingMovie ? { to: `/movie/${titleSlug}` } : { onPress: this.onPress };
|
|
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<div>
|
|
|
|
<div className={styles.searchResult}>
|
|
|
|
<Link
|
|
|
|
<Link
|
|
|
|
className={styles.searchResult}
|
|
|
|
className={styles.underlay}
|
|
|
|
{...linkProps}
|
|
|
|
{...linkProps}
|
|
|
|
>
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div className={styles.overlay}>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
isSmallScreen ?
|
|
|
|
isSmallScreen ?
|
|
|
|
null :
|
|
|
|
null :
|
|
|
@ -158,7 +160,7 @@ class AddNewMovieSearchResult extends Component {
|
|
|
|
{overview}
|
|
|
|
{overview}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</Link>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<AddNewMovieModal
|
|
|
|
<AddNewMovieModal
|
|
|
|
isOpen={isNewAddMovieModalOpen && !isExistingMovie}
|
|
|
|
isOpen={isNewAddMovieModalOpen && !isExistingMovie}
|
|
|
|