diff --git a/step2-07/src/reducers/index.ts b/step2-07/src/reducers/index.ts index 01da639..92a2976 100644 --- a/step2-07/src/reducers/index.ts +++ b/step2-07/src/reducers/index.ts @@ -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':