fix(react): Do a better job matching up route to sync, fixes #20363 (#20446)

This commit is contained in:
Ely Lucas
2020-02-11 16:40:38 -07:00
parent b6fbe98812
commit c0aadd6007
4 changed files with 24 additions and 4 deletions

View File

@ -4,7 +4,7 @@ import { ViewStacks } from './ViewStacks';
export interface RouteManagerContextState {
syncView: (page: HTMLElement, viewId: string) => void;
syncRoute: (id: string, route: any) => void;
syncRoute: (route: any) => void;
hideView: (viewId: string) => void;
viewStacks: ViewStacks;
setupIonRouter: (id: string, children: ReactNode, routerOutlet: HTMLIonRouterOutletElement) => void;