diff --git a/js/components/ascribe_app.js b/js/components/ascribe_app.js index ead715f9..a1f84157 100644 --- a/js/components/ascribe_app.js +++ b/js/components/ascribe_app.js @@ -6,7 +6,7 @@ let Link = Router.Link; let RouteHandler = Router.RouteHandler; -class AscribeApp extends React.Component { +let AscribeApp = React.createClass({ render() { return (
@@ -18,6 +18,6 @@ class AscribeApp extends React.Component {
); } -}; +}); export default AscribeApp; diff --git a/js/components/header.js b/js/components/header.js new file mode 100644 index 00000000..e69de29b diff --git a/js/components/table.js b/js/components/table.js index b310c65c..dfc3b533 100644 --- a/js/components/table.js +++ b/js/components/table.js @@ -30,4 +30,4 @@ let Table = React.createClass({ } }); -export default Table; \ No newline at end of file +export default Table;