|
|
@ -9,6 +9,7 @@ function MovieSearchResult(props) {
|
|
|
|
const {
|
|
|
|
const {
|
|
|
|
match,
|
|
|
|
match,
|
|
|
|
title,
|
|
|
|
title,
|
|
|
|
|
|
|
|
year,
|
|
|
|
images,
|
|
|
|
images,
|
|
|
|
alternateTitles,
|
|
|
|
alternateTitles,
|
|
|
|
tags
|
|
|
|
tags
|
|
|
@ -35,7 +36,7 @@ function MovieSearchResult(props) {
|
|
|
|
|
|
|
|
|
|
|
|
<div className={styles.titles}>
|
|
|
|
<div className={styles.titles}>
|
|
|
|
<div className={styles.title}>
|
|
|
|
<div className={styles.title}>
|
|
|
|
{title}
|
|
|
|
{title} { year > 0 ? `(${year})` : ''}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -65,6 +66,7 @@ function MovieSearchResult(props) {
|
|
|
|
|
|
|
|
|
|
|
|
MovieSearchResult.propTypes = {
|
|
|
|
MovieSearchResult.propTypes = {
|
|
|
|
title: PropTypes.string.isRequired,
|
|
|
|
title: PropTypes.string.isRequired,
|
|
|
|
|
|
|
|
year: PropTypes.number.isRequired,
|
|
|
|
images: PropTypes.arrayOf(PropTypes.object).isRequired,
|
|
|
|
images: PropTypes.arrayOf(PropTypes.object).isRequired,
|
|
|
|
alternateTitles: PropTypes.arrayOf(PropTypes.object).isRequired,
|
|
|
|
alternateTitles: PropTypes.arrayOf(PropTypes.object).isRequired,
|
|
|
|
tags: PropTypes.arrayOf(PropTypes.object).isRequired,
|
|
|
|
tags: PropTypes.arrayOf(PropTypes.object).isRequired,
|
|
|
|