You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just for now, Try to close them by dispatching an action from an interceptor
e.g. you have your modal state in a redux state and then you dispatch store.dispatch('close modalX') where you listen to this variable in your all of your modals useEffect or smth like this ... and if your modal has captured a certain value it dismisses
Environment
Platforms
both
Versions
"react-native-modal": "^13.0.1"
Description
Is there any way to dismiss modals with one action? I want to dismiss all modals when token is invalid in interceptor
Reproducible Demo
Just a question, doesn't need demo
The text was updated successfully, but these errors were encountered: