mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 09:23:13 +01:00
code formatting
This commit is contained in:
parent
25a715ddb3
commit
6ae7ff0d4b
@ -4,14 +4,14 @@ import Router from 'react-router';
|
||||
var RouteHandler = Router.RouteHandler;
|
||||
|
||||
class AscribeApp extends React.Component {
|
||||
render () {
|
||||
return (
|
||||
<div>
|
||||
<h1>ascribe all the things!</h1>
|
||||
<RouteHandler />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
render () {
|
||||
return (
|
||||
<div>
|
||||
<h1>ascribe all the things!</h1>
|
||||
<RouteHandler />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
export default AscribeApp;
|
||||
|
@ -1,13 +1,13 @@
|
||||
import React from 'react';
|
||||
|
||||
class ArtworkList extends React.Component {
|
||||
render () {
|
||||
render() {
|
||||
return (
|
||||
<ul>
|
||||
<ul>
|
||||
<li>This is an artwork</li>
|
||||
</ul>
|
||||
</ul>
|
||||
);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
export default ArtworkList;
|
||||
|
@ -2,4 +2,4 @@ class ArtworkListStore {
|
||||
constructor() {
|
||||
this.artworkList = [];
|
||||
}
|
||||
}
|
||||
};
|
@ -6,7 +6,7 @@ import ArtworkList from './components/artwork_list';
|
||||
var Route = Router.Route;
|
||||
|
||||
var routes = (
|
||||
<Route handler={AscribeApp}>
|
||||
<Route path="artworks" handler={ArtworkList} />
|
||||
</Route>
|
||||
<Route handler={AscribeApp}>
|
||||
<Route path="artworks" handler={ArtworkList} />
|
||||
</Route>
|
||||
);
|
Loading…
Reference in New Issue
Block a user