@tanstack/router-core 0.0.1-beta.180 → 0.0.1-beta.182
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/router.js +1 -1
- package/build/cjs/router.js.map +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/index.js.map +1 -1
- package/build/stats-html.html +1 -1
- package/build/stats-react.json +124 -124
- package/build/umd/index.development.js +1 -1
- package/build/umd/index.development.js.map +1 -1
- package/build/umd/index.production.js +2 -2
- package/build/umd/index.production.js.map +1 -1
- package/package.json +1 -1
- package/src/router.ts +2 -1
package/package.json
CHANGED
package/src/router.ts
CHANGED
|
@@ -56,6 +56,7 @@ import {
|
|
|
56
56
|
createMemoryHistory,
|
|
57
57
|
RouterHistory,
|
|
58
58
|
} from './history'
|
|
59
|
+
import warning from 'tiny-warning'
|
|
59
60
|
|
|
60
61
|
//
|
|
61
62
|
|
|
@@ -1761,7 +1762,7 @@ export class Router<
|
|
|
1761
1762
|
) => {
|
|
1762
1763
|
this.__store.setState((prev) => {
|
|
1763
1764
|
if (!prev.matchesById[id]) {
|
|
1764
|
-
|
|
1765
|
+
return prev
|
|
1765
1766
|
}
|
|
1766
1767
|
|
|
1767
1768
|
return {
|