1
0
mirror of https://github.com/tooot-app/app synced 2024-12-29 02:40:46 +01:00
tooot/app/store.js
Zhiyuan Zheng 4af19d0588
First commit
Public timeline working, with refreshing and load more
2020-10-22 00:47:02 +02:00

15 lines
322 B
JavaScript

import { configureStore } from '@reduxjs/toolkit'
import timelineReducer from '../screens/timelineSlice'
export default configureStore({
reducer: {
timeline: timelineReducer
},
middleware: getDefaultMiddleware =>
getDefaultMiddleware({
immutableCheck: false,
serializableCheck: false
})
})