Router done

This commit is contained in:
Edin Dazdarevic
2017-04-09 23:39:38 +02:00
parent 1fdcc24827
commit 4df688ac60
7 changed files with 86 additions and 53 deletions

View File

@@ -25,7 +25,6 @@ export default class Listings extends React.Component {
loadListing(id).then(l => l.text()).then(l => {
console.log('lising clicked');
this.props.dispatch({type: 'UPDATE_ROUTE', action: {
toDispatch: {
type: 'VIEW_LISTING_DETAILS', action: {