mirror of
https://github.com/microsoft/frontend-bootcamp.git
synced 2026-01-26 14:56:42 +08:00
cleanup
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user