Trying to fix inapp

This commit is contained in:
Diego Mello 2020-05-28 15:30:23 -03:00
parent 452620c02c
commit ff5b5b33cc
1 changed files with 3 additions and 0 deletions

View File

@ -152,6 +152,9 @@ class NotificationBadge extends React.Component {
}
getNavState = (state) => {
if (!state?.routes) {
return state;
}
const value = state.routes[state.index];
if (value.state) {
return this.getNavState(value.state);