fix(react): adding HashRouter to available ion routers, fixes #19621 (#19683)

This commit is contained in:
Ely Lucas
2019-10-17 12:32:47 -06:00
committed by Liam DeBeasi
parent 4ed525dbac
commit 71fdcbc1b4
7 changed files with 59 additions and 39 deletions

View File

@ -72,7 +72,7 @@ const IonTabBarUnwrapped = /*@__PURE__*/(() => class extends React.Component<Pro
if (this.context.hasIonicRouter()) {
this.context.tabNavigate(originalHref);
} else {
this.context.navigate(originalHref, 'back');
this.context.navigate(originalHref, 'back');
}
} else {
this.context.navigate(this.state.tabs[e.detail.tab].currentHref, 'none');