Renamed the exporting class name to match the file name.
This commit is contained in:
		| @@ -13,7 +13,7 @@ import { fetchJSON } from './http.jsx'; | |||||||
| import Interactive from 'react-interactive'; | import Interactive from 'react-interactive'; | ||||||
|  |  | ||||||
|  |  | ||||||
| class MovieObject { | class SearchObject { | ||||||
|     constructor(object) { |     constructor(object) { | ||||||
|         this.id = object.id; |         this.id = object.id; | ||||||
|         this.title = object.title; |         this.title = object.title; | ||||||
| @@ -134,4 +134,4 @@ class MovieObject { | |||||||
|     } |     } | ||||||
| } | } | ||||||
|  |  | ||||||
| export default MovieObject; | export default SearchObject; | ||||||
		Reference in New Issue
	
	Block a user