From 6bbab525d047d7475dc9a902a4bc574a6ba78cc7 Mon Sep 17 00:00:00 2001 From: Sean Perkins Date: Mon, 3 Jul 2023 12:33:24 -0400 Subject: [PATCH] chore: remove previous IonRouterOutlet implementation --- .../react/src/components/IonRouterOutlet.tsx | 35 ------------------- 1 file changed, 35 deletions(-) diff --git a/packages/react/src/components/IonRouterOutlet.tsx b/packages/react/src/components/IonRouterOutlet.tsx index 4b5d9cbf69..5bff7787c2 100644 --- a/packages/react/src/components/IonRouterOutlet.tsx +++ b/packages/react/src/components/IonRouterOutlet.tsx @@ -49,41 +49,6 @@ const IonRouterOutletContainer = (props: PropsWithChildren) => { ); }; -// class IonRouterOutletContainer extends React.Component { -// context!: React.ContextType; - -// constructor(props: InternalProps) { -// super(props); -// } - -// render() { -// const StackManager = this.context.getStackManager(); -// const { children, forwardedRef, ...props } = this.props; - -// return this.context.hasIonicRouter() ? ( -// props.ionPage ? ( -// -// {children} -// -// ) : ( -// -// -// {children} -// -// -// ) -// ) : ( -// -// {this.props.children} -// -// ); -// } - -// static get contextType() { -// return NavContext; -// } -// } - export const IonRouterOutlet = createForwardRef( IonRouterOutletContainer, 'IonRouterOutlet'