diff --git a/playground/src/actions/index.ts b/playground/src/actions/index.ts index 01d17f3..2b75c3c 100644 --- a/playground/src/actions/index.ts +++ b/playground/src/actions/index.ts @@ -1,4 +1,4 @@ -import { action, GenericActionTypes, GenericAction, GenericActionLookup, GenericActionMapping } from '../redux-utils/action'; +import { action, GenericActionTypes, GenericAction, GenericActionLookup } from '../redux-utils/action'; export const actions = { add: (label: string) => action('add', { label }), @@ -9,7 +9,6 @@ export const actions = { filter: (filterTypes: string) => action('filter', { filter: filterTypes }) }; -export type ActionMap = GenericActionMapping; -export type ActionTypes = GenericActionTypes; -export type TodoAction = GenericAction; -export type TodoActionLookup = GenericActionLookup; +export type ActionTypes = GenericActionTypes; +export type TodoAction = GenericAction; +export type TodoActionLookup = GenericActionLookup; diff --git a/playground/src/components/TodoAppContainer.tsx b/playground/src/components/TodoAppContainer.tsx index 3e8539f..1714f04 100644 --- a/playground/src/components/TodoAppContainer.tsx +++ b/playground/src/components/TodoAppContainer.tsx @@ -22,7 +22,7 @@ export function mapDispatchToProps(dispatch: Dispatch) { }; } -export default connect( +export const TodoAppContainer = connect( mapStateToProps, mapDispatchToProps )(TodoApp); diff --git a/playground/src/index.tsx b/playground/src/index.tsx index 9c2ea1d..2c8e511 100644 --- a/playground/src/index.tsx +++ b/playground/src/index.tsx @@ -3,7 +3,7 @@ import ReactDOM from 'react-dom'; import { createStore } from 'redux'; import { Provider } from 'react-redux'; import { reducer } from './reducers'; -import TodoAppContainer from './components/TodoAppContainer'; +import { TodoAppContainer } from './components/TodoAppContainer'; import { initializeIcons } from '@uifabric/icons'; declare var window: any;