Skip to content

Commit 3669129

Browse files
committed
fix progress ahead bug
1 parent 28484a1 commit 3669129

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

lib/modules/progress/actions.js

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ function progressLoad() {
66
var tutorial = getState().tutorial;
77
dispatch({ type: types_1.PROGRESS_LOAD, payload: { tutorial: tutorial } });
88
dispatch(_progressPagePosition());
9-
dispatch(actions_1.testRun());
109
};
1110
}
1211
exports.progressLoad = progressLoad;

lib/store.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ var core_coderoad_1 = require('core-coderoad');
44
Object.defineProperty(exports, "__esModule", { value: true });
55
exports.default = core_coderoad_1.configureStore({
66
reducer: reducers_1.default,
7-
devMode: true,
7+
devMode: false,
88
throttle: { TEST_RUN: 800 },
99
});

src/modules/progress/actions.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export function progressLoad(): ReduxThunk.ThunkInterface {
88
const {tutorial} = getState();
99
dispatch({ type: PROGRESS_LOAD, payload: { tutorial } });
1010
dispatch(_progressPagePosition());
11-
dispatch(testRun());
11+
// dispatch(testRun());
1212
};
1313
}
1414

src/store.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ import {configureStore} from 'core-coderoad';
33

44
export default configureStore({
55
reducer,
6-
devMode: true,
6+
devMode: false,
77
throttle: { TEST_RUN: 800 },
88
});

0 commit comments

Comments
 (0)