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:
commit
85c60732a3
@ -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
|
||||
|
@ -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": {
|
||||
|
@ -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 () {
|
||||
|
Loading…
Reference in New Issue
Block a user