Devendra174's picture
Upload folder using huggingface_hub
f5071ca verified
raw
history blame contribute delete
346 Bytes
import { createStore, applyMiddleware } from 'redux';
import rootReducer from './root-reducer';
import thunk from 'redux-thunk';
import { persistStore } from 'redux-persist';
const middlewares = [thunk]
export const store = createStore(rootReducer, applyMiddleware(...middlewares));
export const persistor = persistStore(store);