import { createReduxEnhancer } from 'react-native-feedback-reporter';
import {
compose,
Middleware,
createStore,
applyMiddleware,
combineReducers,
} from 'redux';
const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
const middleware: Middleware[] = [];
const enhancers = __DEV__
? composeEnhancers(applyMiddleware(...middleware), createReduxEnhancer())
: composeEnhancers(applyMiddleware(...middleware));
let store = createStore(combineReducers({ userReducers }), enhancers);
const WrapperApp = () => (
<Provider store={store}>
{}
</Provider>
);