Trying to fix inapp
This commit is contained in:
parent
452620c02c
commit
ff5b5b33cc
|
@ -152,6 +152,9 @@ class NotificationBadge extends React.Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
getNavState = (state) => {
|
getNavState = (state) => {
|
||||||
|
if (!state?.routes) {
|
||||||
|
return state;
|
||||||
|
}
|
||||||
const value = state.routes[state.index];
|
const value = state.routes[state.index];
|
||||||
if (value.state) {
|
if (value.state) {
|
||||||
return this.getNavState(value.state);
|
return this.getNavState(value.state);
|
||||||
|
|
Loading…
Reference in New Issue