[ABANDONED] React/Redux front end for the Flexor social network.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

24 lines
632 B

import { createStore, combineReducers, applyMiddleware } from 'redux'
import { AppState } from '../types'
import authentication from '../reducers/authentication'
import entities from '../reducers/entities'
import menu from '../reducers/menu'
import notifications from '../reducers/notifications'
import requests from '../reducers/requests'
import logger from 'redux-logger'
import thunk from 'redux-thunk'
const store = createStore(
combineReducers<AppState>({
authentication,
entities,
menu,
notifications,
requests,
}),
applyMiddleware(logger, thunk)
)
export default store