1
1
mirror of https://github.com/jxnblk/mdx-deck.git synced 2024-11-29 13:58:02 +03:00

Merge remote-tracking branch 'upstream/master'

This commit is contained in:
busypeoples 2018-08-01 18:24:20 +02:00
commit 85c60732a3
3 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,10 @@
# Changelog
## v1.2.3 2018-08-01
- Fix `history.pushState` hash
## v1.2.2 2018-07-31
- Update dev server for static file server

View File

@ -1,6 +1,6 @@
{
"name": "mdx-deck",
"version": "1.2.2",
"version": "1.2.3",
"description": "MDX-based slide deck presentations",
"main": "dist/index.js",
"bin": {

View File

@ -298,7 +298,7 @@ export class SlideDeck extends React.Component {
return
}
const { index } = this.state
history.pushState(null, null, '/#' + index)
history.pushState(null, null, '#' + index)
}
render () {