We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
createMemoryHistory
1 parent 016393b commit 87bd969Copy full SHA for 87bd969
packages/history/src/index.ts
@@ -371,7 +371,6 @@ export function createMemoryHistory(
371
372
pushState: (path, state) => {
373
currentState = state
374
- entries.splice
375
// Removes all subsequent entries after the current index to start a new branch
376
if (index < entries.length - 1) {
377
entries.splice(index + 1)
0 commit comments