diff --git a/src/containers/film-detail.js b/src/containers/film-detail.js
index a42b32f..84c3df3 100644
--- a/src/containers/film-detail.js
+++ b/src/containers/film-detail.js
@@ -8,10 +8,11 @@ class FilmDetail extends Component {
}
return (
-
Details For :
+
Details For :
{this.props.film.title}
-
{this.props.film.title}
+
Actor: {this.props.film.actor}
+
Rating: {this.props.film.rating}
);
}
diff --git a/src/reducers/reducer_films.js b/src/reducers/reducer_films.js
index f06a17d..29cba55 100644
--- a/src/reducers/reducer_films.js
+++ b/src/reducers/reducer_films.js
@@ -1,11 +1,11 @@
export default function() {
return [
- { title: 'Titanic', actor: 'Leonardo Dicaprio'},
- { title: 'Men In Black', actor: 'Will Smith'},
- { title: 'Pirates Of the Carribean', actor: 'Jhonny Depp'},
- { title: 'Black Swan', actor: 'Natalie Portman'},
- { title: 'Forest Grump', actor: 'Tom hanks'},
- { title: 'Lucy', actor: 'Scarlett Johansson'},
- { title: 'The Hunger Games', actor: 'Jennifer Lawrence'}
+ { title: 'Titanic', actor: 'Leonardo Dicaprio', rating: 4.5},
+ { title: 'Men In Black', actor: 'Will Smith', rating: 4.9},
+ { title: 'Pirates Of the Carribean', actor: 'Jhonny Depp', rating: 4.1},
+ { title: 'Black Swan', actor: 'Natalie Portman', rating: 4.5},
+ { title: 'Forest Grump', actor: 'Tom hanks', rating: 4.2},
+ { title: 'Lucy', actor: 'Scarlett Johansson', rating: 4.5},
+ { title: 'The Hunger Games', actor: 'Jennifer Lawrence', rating: 4.5}
]
}