1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 09:23:13 +01:00

fixed hash in url

This commit is contained in:
Tim Daubenschütz 2015-05-18 09:29:51 +02:00
parent 4d7198fab9
commit 7a1bd8cd82
3 changed files with 9 additions and 9 deletions

View File

@ -10,7 +10,7 @@ var Route = Router.Route;
var routes = ( var routes = (
<Route handler={HelloApp}> <Route handler={HelloApp}>
<Route path="artworks" handler={ArtworkList}/> <Route path="artworks" handler={ArtworkList} />
</Route> </Route>
); );

View File

@ -1,13 +1,13 @@
import React from 'react'; import React from 'react';
class ArtworkList extends React.Component { class ArtworkList extends React.Component {
render () { render () {
return ( return (
<ul> <ul>
<li>This is an artwork</li> <li>This is an artwork</li>
</ul> </ul>
); );
} }
}; };
export default ArtworkList; export default ArtworkList;

View File

@ -8,7 +8,7 @@ class HelloApp extends React.Component {
return ( return (
<div> <div>
<h1>ascribe all the things!</h1> <h1>ascribe all the things!</h1>
<RouteHandler/> <RouteHandler />
</div> </div>
); );
} }