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.
1 parent 3e62388 commit 18090b5Copy full SHA for 18090b5
lib/history.js
@@ -7,9 +7,9 @@ export default function initHistory(contextHistory){
7
return acc;
8
}, [])
9
.multicast()
10
- let travel = from(contextHistory.travel)
+ let travel = contextHistory.travel
11
history.cursor = -1
12
- history.travel = travel
+ history.travel = from(travel)
13
.sample((offset,states)=>{
14
let cursor = offset(states.length+history.cursor)
15
if(cursor<states.length&&cursor>=0){
0 commit comments