(type: 'PUSH' | 'REPLACE')
| 397 | |
| 398 | // NOTE: this function can probably be removed |
| 399 | const onPushPop = (type: 'PUSH' | 'REPLACE') => { |
| 400 | currentLocation = parseLocation() |
| 401 | history.notify({ type }) |
| 402 | } |
| 403 | |
| 404 | const onPushPopEvent = async () => { |
| 405 | if (ignoreNextPop) { |
no test coverage detected