Skip to content

Commit 2b05cca

Browse files
committed
add changes 📧
1 parent 091b7cd commit 2b05cca

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

ch10/nile/app.jsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
11
import { createHashHistory, useBasename} from 'history'
22
import React from 'react'
33
import ReactDOM from 'react-dom'
4-
// import { createHistory, useBasename } from 'history'
54
import { Router, Route, IndexRoute, Link, IndexLink } from 'react-router'
65

76
const history = createHashHistory({
8-
// queryKey: false
97
})
10-
// const history = useBasename(createHistory)({
11-
// basename: '/pinterest'
12-
// })
138

149
const PRODUCTS = [
1510
{ id: 0, src: 'images/proexpress-cover.jpg', title: 'Pro Express.js', url: 'http://amzn.to/1D6qiqk' },
@@ -102,7 +97,7 @@ const App = React.createClass({
10297
<div className="well">
10398
<Heading/>
10499
<div>
105-
100+
106101
{this.props.children}
107102
{(isModal)?
108103
<Modal isOpen={true} returnTo={this.props.location.state.returnTo}>

0 commit comments

Comments
 (0)