chore(step-redux): Remove console.log
This commit is contained in:
@ -167,16 +167,17 @@ export class StepChallenge extends PureComponent {
|
||||
);
|
||||
}
|
||||
|
||||
renderStep({
|
||||
clickOnImage,
|
||||
completeAction,
|
||||
currentIndex,
|
||||
isActionCompleted,
|
||||
isLastStep,
|
||||
numOfSteps,
|
||||
step,
|
||||
stepBackward,
|
||||
stepForward
|
||||
renderStep(
|
||||
{
|
||||
clickOnImage,
|
||||
completeAction,
|
||||
currentIndex,
|
||||
isActionCompleted,
|
||||
isLastStep,
|
||||
numOfSteps,
|
||||
step,
|
||||
stepBackward,
|
||||
stepForward
|
||||
}) {
|
||||
if (!Array.isArray(step)) {
|
||||
return null;
|
||||
|
@ -63,10 +63,7 @@ export const actionCompletedSelector = state => getNS(state).isActionCompleted;
|
||||
|
||||
export default handleActions(
|
||||
() => ({
|
||||
[challenges.challengeUpdated]: () => {
|
||||
console.log('updating step ui');
|
||||
return initialState;
|
||||
},
|
||||
[challenges.challengeUpdated]: () => initialState,
|
||||
[types.goToStep]: (state, { payload: { step = 0, isUnlocked }}) => ({
|
||||
...state,
|
||||
currentIndex: step,
|
||||
|
Reference in New Issue
Block a user