Skip to content

Commit 48672c6

Browse files
committed
Missing 'break' statements in switch clausule
1 parent 9c05714 commit 48672c6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

3-flux/src/js/stores/TodoStore.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,12 @@ class TodoStore extends EventEmitter {
3939
switch(action.type) {
4040
case "CREATE_TODO": {
4141
this.createTodo(action.text);
42+
break;
4243
}
4344
case "RECEIVE_TODOS": {
4445
this.todos = action.todos;
4546
this.emit("change");
47+
break;
4648
}
4749
}
4850
}

0 commit comments

Comments
 (0)