Skip to content

Commit 76c7b61

Browse files
authored
Hotfix alerts not being removed (#221)
1 parent 7480501 commit 76c7b61

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/sagas/backend.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ function* backendSaga(): SagaIterator {
5252
const assessment = yield select((state: IState) =>
5353
state.session.assessments.get(assessmentId)
5454
)
55-
alert(JSON.stringify(yield select((state: IState) => state.session.assessments)))
5655
const newQuestions = assessment.questions.slice().map((question: IQuestion) => {
5756
if (question.id === questionId) {
5857
question.answer = answer

src/sagas/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ function* workspaceSaga(): SagaIterator {
2929
yield takeEvery(actionTypes.EVAL_EDITOR, function*(action) {
3030
const location = (action as actionTypes.IAction).payload.workspaceLocation
3131
const code: string = yield select((state: IState) => state.workspaces[location].editorValue)
32-
alert(`saga: EVAL_EDITOR; location: ${location}; code: ${code}`)
3332
const chapter: number = yield select(
3433
(state: IState) => state.workspaces[location].context.chapter
3534
)

0 commit comments

Comments
 (0)