sombreroEnPuntas/review-feed

View on GitHub
src/data/index.ts

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
import { combineReducers, Action } from 'redux'
import { configureStore, ThunkAction } from '@reduxjs/toolkit'
 
import filters from './filters'
import login from './login'
import themes from './themes'
 
const reducer = combineReducers({
filters,
login,
themes,
})
 
const store = configureStore({
reducer,
})
 
export type Store = ReturnType<typeof reducer>
export type Thunk = ThunkAction<void, Store, null, Action<string>>
export default store