From 67d29576efd81b374af44981392d00c47743844f Mon Sep 17 00:00:00 2001 From: Amir Lazarovich Date: Tue, 3 May 2016 20:50:15 -0400 Subject: [PATCH] clear stored cache on COMMIT --- src/instrument.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/instrument.js b/src/instrument.js index 7ff63a2f..6f7e079c 100644 --- a/src/instrument.js +++ b/src/instrument.js @@ -217,6 +217,7 @@ function liftReducerWith(reducer, initialCommittedState, monitorReducer, options // Consider the last committed state the new starting point. // Squash any staged actions into a single committed state. actionsById = { 0: liftAction(INIT_ACTION) }; + initialLiftedState.actionsById = actionsById; nextActionId = 1; stagedActionIds = [0]; skippedActionIds = [];