From 156fc925841bebec908f90e82c0112f12981f134 Mon Sep 17 00:00:00 2001 From: George Lima Date: Wed, 28 Nov 2018 11:06:29 -0300 Subject: [PATCH] hotfix: redux modules imports --- app/app.js | 2 +- app/containers/todo.js | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/app/app.js b/app/app.js index c6dff33..7d632aa 100644 --- a/app/app.js +++ b/app/app.js @@ -3,7 +3,7 @@ import React from 'react'; import { Provider } from 'react-redux'; import { ConnectedRouter } from 'connected-react-router'; -import { configureStore, history } from './store/configure'; +import { configureStore, history } from './redux/create'; import { Router } from './router/container'; const store = configureStore({}); diff --git a/app/containers/todo.js b/app/containers/todo.js index fbdb389..6d32347 100644 --- a/app/containers/todo.js +++ b/app/containers/todo.js @@ -2,11 +2,10 @@ import { connect } from 'react-redux'; import TodoView from '../views/todo'; -import { addTodo } from '../actions/add-todo'; -import { deleteTodo } from '../actions/delete-todo'; -import { toggleEdit } from '../actions/toggle-edit-todo'; -import { updateTodo } from '../actions/update-todo'; -import { cancelUpdateTodo } from '../actions/cancel-update-todo'; +import { + addTodo, deleteTodo, toggleEdit, updateTodo, cancelUpdateTodo, +} from '../redux/modules/todo'; + import type { AppState } from '../types/app-state'; import type { Dispatch } from '../types/redux';