mirror of
https://github.com/ascribe/onion.git
synced 2025-01-03 10:25:08 +01:00
Subclass React in the proper way
This commit is contained in:
parent
ba71bd5788
commit
f575f2b4ca
@ -6,7 +6,7 @@ let Link = Router.Link;
|
||||
let RouteHandler = Router.RouteHandler;
|
||||
|
||||
|
||||
class AscribeApp extends React.Component {
|
||||
let AscribeApp = React.createClass({
|
||||
render() {
|
||||
return (
|
||||
<div>
|
||||
@ -18,6 +18,6 @@ class AscribeApp extends React.Component {
|
||||
</div>
|
||||
);
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
export default AscribeApp;
|
||||
|
0
js/components/header.js
Normal file
0
js/components/header.js
Normal file
@ -13,8 +13,6 @@ let Table = React.createClass({
|
||||
</li>
|
||||
);
|
||||
})}
|
||||
|
||||
}
|
||||
</ul>
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user