From 2e25fe2b02abb299eaa15990de06cf7ae39ad725 Mon Sep 17 00:00:00 2001 From: Tomas Weiss Date: Sat, 2 Apr 2016 13:50:22 +0200 Subject: [PATCH] replaying flag held inside action --- src/instrument.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/instrument.js b/src/instrument.js index 04a4745a..38cdeb5c 100644 --- a/src/instrument.js +++ b/src/instrument.js @@ -70,7 +70,7 @@ function computeNextEntry(reducer, action, state, error, replaying) { let nextState = state; let nextError; try { - nextState = reducer(state, action, replaying); + nextState = reducer(state, { ...action, replaying }); } catch (err) { nextError = err.toString(); if (typeof window === 'object' && typeof window.chrome !== 'undefined') {