Skip to content

Commit

Permalink
Merge pull request #55 from judikdavid/master
Browse files Browse the repository at this point in the history
fix(FAQ): update createMemoryHistory config
  • Loading branch information
supasate authored May 30, 2017
2 parents d3b5c58 + 4f11090 commit 0f16f8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ const history = createHashHistory({
import { createMemoryHistory } from 'history'

const history = createMemoryHistory({
initialEntries={[ '/one', '/two', { pathname: '/three' } ]}
initialIndex={1}
initialEntries: [ '/one', '/two', { pathname: '/three' } ],
initialIndex: 1
})
```

Expand Down

0 comments on commit 0f16f8c

Please sign in to comment.