From eb620843b9b58f6aebd8f34102ad0df4fc1feecb Mon Sep 17 00:00:00 2001 From: Ken Date: Sun, 17 Feb 2019 17:19:57 -0800 Subject: [PATCH] cleanup --- step2-07/src/reducers/index.ts | 2 -- 1 file changed, 2 deletions(-) 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':