Fix setting undefined value to isTransitioning (#4124)

This commit is contained in:
Serge Lebedev 2018-05-06 23:04:57 +06:00 committed by Eric Vicenti
parent c1a94895f5
commit f6bd3e4306

View File

@ -327,7 +327,7 @@ export default (routeConfigs, stackConfig = {}) => {
isTransitioning:
state.index !== lastRouteIndex
? action.immediate !== true
: undefined,
: state.isTransitioning,
index: lastRouteIndex,
routes,
};