This commit is contained in:
Ken
2019-02-17 17:19:57 -08:00
parent b603f44b0d
commit eb620843b9

View File

@@ -1,8 +1,6 @@
import { Store } from '../store';
import { addTodo, remove, complete, clear } from './pureFunctions';
let index = 0;
export function reducer(state: Store, payload: any): Store {
switch (payload.type) {
case 'addTodo':