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:
parent
ce316ff6a5
commit
d01afbdaed
@ -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 () {
|
||||
|
Loading…
Reference in New Issue
Block a user