chore(step-redux): Remove console.log
This commit is contained in:
@ -167,7 +167,8 @@ export class StepChallenge extends PureComponent {
|
||||
);
|
||||
}
|
||||
|
||||
renderStep({
|
||||
renderStep(
|
||||
{
|
||||
clickOnImage,
|
||||
completeAction,
|
||||
currentIndex,
|
||||
|
@ -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