import { AppRegistry } from "react-native";
import { createStore, applyMiddleware } from "redux";
import { Provider } from "react-redux";
import App from "./App";
import { name as appName } from "./app.json";
import rootReducer from "./app/src/reducers";
const store = createStore(rootReducer);
AppRegistry.registerComponent(appName, () => (
<Provider store={store}>
<App />
</Provider>
));
the error is as follows: