Как устранить ошибку "Не удалось найти" хранилище "в контексте"? - PullRequest
0 голосов
/ 12 января 2019
[17:28:29] Invariant Violation: Could not find "store" in the context of
"Connect(AppNavigator)". Either wrap the root component in a`<Provider>`
or pass a custom React context provider to <Provider> and the corresponding
React context consumer to Connect(AppNavigator) in connect options.

This error is located at:


in Connect(AppNavigator) (at App.js:17)


in RCTView (at View.js:44)


in ActionSheet (at ActionSheetProvider.js:56)


in ActionSheetProvider (at App.js:16)


in ApolloProvider (at App.js:15)



in App (at withExpoRoot.js:22)



in RootErrorBoundary (at withExpoRoot.js:21)


in ExpoRootComponent (at renderApplication.js:34)


in RCTView (at View.js:44)


in RCTView (at View.js:44)


in AppContainer (at renderApplication.js:33)
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...