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