Skip to content

Commit

Permalink
add changes 📧
Browse files Browse the repository at this point in the history
  • Loading branch information
azat-co committed Dec 24, 2015
1 parent 091b7cd commit 2b05cca
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions ch10/nile/app.jsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
import { createHashHistory, useBasename} from 'history'
import React from 'react'
import ReactDOM from 'react-dom'
// import { createHistory, useBasename } from 'history'
import { Router, Route, IndexRoute, Link, IndexLink } from 'react-router'

const history = createHashHistory({
// queryKey: false
})
// const history = useBasename(createHistory)({
// basename: '/pinterest'
// })

const PRODUCTS = [
{ id: 0, src: 'images/proexpress-cover.jpg', title: 'Pro Express.js', url: 'http://amzn.to/1D6qiqk' },
Expand Down Expand Up @@ -102,7 +97,7 @@ const App = React.createClass({
<div className="well">
<Heading/>
<div>

{this.props.children}
{(isModal)?
<Modal isOpen={true} returnTo={this.props.location.state.returnTo}>
Expand Down

0 comments on commit 2b05cca

Please sign in to comment.