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 = (
<Route handler={HelloApp}>
<Route path="artworks" handler={ArtworkList}/>
<Route path="artworks" handler={ArtworkList} />
</Route>
);

View File

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

View File

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