Skip to content

Commit e08a612

Browse files
committed
remove unnecessary method
1 parent dc9d52f commit e08a612

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/util/push-state.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@ export function setStateKey (key: string) {
3737
_key = key
3838
}
3939

40-
export function genNewKey () {
41-
_key = genKey()
42-
}
43-
4440
export function pushState (url?: string, replace?: boolean) {
4541
// try...catch the pushState call to get around Safari
4642
// DOM Exception 18 where it limits to 100 pushState calls

0 commit comments

Comments
 (0)