Skip to content

Commit

Permalink
refactor(store): create config folder
Browse files Browse the repository at this point in the history
improve #28
  • Loading branch information
aneurysmjs committed Aug 29, 2019
1 parent ac0bbe5 commit fffb99a
Show file tree
Hide file tree
Showing 10 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ import type { Actions } from '@/store/types/Actions';
// import throttle from 'lodash.throttle';

// Middleware is the suggested way to extend Redux with custom functionality.
import middlewares from '@/store/middlewares';
import middlewares from '@/store/config/middlewares';

// import all reducers
import reducer from '@/store/reducers';

// import { saveState, loadState } from './localStorage';
// import { saveState, loadState } from './storage';

// Get the state from localStorage
// const persistedState = loadState();
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/app/store/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// @flow strict

import configureStore from './configureStore';
import configureStore from './config/configureStore';

const store = configureStore();

Expand Down

0 comments on commit fffb99a

Please sign in to comment.