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:
parent
4d7198fab9
commit
7a1bd8cd82
@ -10,7 +10,7 @@ var Route = Router.Route;
|
||||
|
||||
var routes = (
|
||||
<Route handler={HelloApp}>
|
||||
<Route path="artworks" handler={ArtworkList}/>
|
||||
<Route path="artworks" handler={ArtworkList} />
|
||||
</Route>
|
||||
);
|
||||
|
||||
|
@ -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;
|
||||
|
@ -8,7 +8,7 @@ class HelloApp extends React.Component {
|
||||
return (
|
||||
<div>
|
||||
<h1>ascribe all the things!</h1>
|
||||
<RouteHandler/>
|
||||
<RouteHandler />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user