Skip to content

Commit

Permalink
bugfix: accidentally forgot to merge filmId back into movie, which ca…
Browse files Browse the repository at this point in the history
…used weird issues down the line, to be investigated
  • Loading branch information
Philipp Brumm committed Nov 4, 2016
1 parent 5f218a8 commit 44232a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/FilmDetail/FilmDetail.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export default class FilmDetail extends React.Component {

@promised static loadProps = ({ filmId, filmType }) => (
fetchDetail(filmId)
.then(movie => ({ ...movie, filmId }))
.then(movie => (
filmType !== 'movie'
? fetchEpisodeDetails(movie)
Expand Down

0 comments on commit 44232a9

Please sign in to comment.