fix: 🐛
This commit is contained in:
parent
206bee87d2
commit
2a4968568a
2 changed files with 1 additions and 2 deletions
|
|
@ -116,7 +116,6 @@ export function PageManager({ maxStackSize = 5 }: { maxStackSize?: number }) {
|
|||
|
||||
const onPopState = (e: PopStateEvent) => {
|
||||
let state = e.state as { index: number; url: string } | null
|
||||
console.log('popstate', state)
|
||||
setSecondaryStack((pre) => {
|
||||
const currentItem = pre[pre.length - 1] as TStackItem | undefined
|
||||
const currentIndex = currentItem?.index
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue