diff --git a/js/app.js b/js/app.js index 1b468524..db30113e 100644 --- a/js/app.js +++ b/js/app.js @@ -4,7 +4,7 @@ import React from 'react'; import Router from 'react-router'; import AscribeApp from './components/ascribe_app'; -import routes from '.routes'; +import routes from './routes'; Router.run(routes, Router.HashLocation, (AscribeApp) => { React.render( diff --git a/js/components/actions/artwork_list_actions.js b/js/components/actions/artwork_list_actions.js new file mode 100644 index 00000000..615ca62d --- /dev/null +++ b/js/components/actions/artwork_list_actions.js @@ -0,0 +1,11 @@ +import alt from '../alt'; + +class ArtworkListActions { + constructor() { + this.generateActions( + 'updateArtworks' + ); + }; +}; + +export default alt.createAction(ArtworkListActions); \ No newline at end of file diff --git a/js/components/ascribe_app.js b/js/components/ascribe_app.js index 4bc41224..8794e719 100644 --- a/js/components/ascribe_app.js +++ b/js/components/ascribe_app.js @@ -4,7 +4,7 @@ import Router from 'react-router'; var RouteHandler = Router.RouteHandler; class AscribeApp extends React.Component { - render () { + render() { return (