This repository was archived by the owner on Oct 26, 2018. It is now read-only.
Commit 3ae8110
committed
Compare location changes against initialState.
Also, replace the location, rather than transitionTo it.
The location in the initialState is no longer undefined, so we should compare if we're going back to that state. Because the initial action is normally a POP, we can't transition to that kind of action and instead need to replace our location.
Fixes #164
Fixes #2521 parent c3dc895 commit 3ae8110
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | | - | |
| 86 | + | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
0 commit comments