Renamed the exporting class name to match the file name.

This commit is contained in:
2017-12-02 12:08:47 +01:00
parent e55067025e
commit fd0a2c9d50

View File

@@ -13,7 +13,7 @@ import { fetchJSON } from './http.jsx';
import Interactive from 'react-interactive';
class MovieObject {
class SearchObject {
constructor(object) {
this.id = object.id;
this.title = object.title;
@@ -134,4 +134,4 @@ class MovieObject {
}
}
export default MovieObject;
export default SearchObject;