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

Fix pushState hash

This commit is contained in:
Brent Jackson 2018-08-01 10:38:48 -04:00
parent ce316ff6a5
commit d01afbdaed

View File

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