From ca27ed618ba9b6daf017f3ac132d258fb5898665 Mon Sep 17 00:00:00 2001 From: Maria Hutt Date: Mon, 19 May 2025 17:01:48 -0700 Subject: [PATCH] chore(IonRouteInner): upgrade to rr6 --- .../src/ReactRouter/IonRouteInner.tsx | 23 +------------------ packages/react/src/components/IonRoute.tsx | 4 ++-- 2 files changed, 3 insertions(+), 24 deletions(-) diff --git a/packages/react-router/src/ReactRouter/IonRouteInner.tsx b/packages/react-router/src/ReactRouter/IonRouteInner.tsx index ddeb0e74d3..550c2f5587 100644 --- a/packages/react-router/src/ReactRouter/IonRouteInner.tsx +++ b/packages/react-router/src/ReactRouter/IonRouteInner.tsx @@ -4,27 +4,6 @@ import { Route } from 'react-router'; export class IonRouteInner extends React.PureComponent { render() { - return ( - - ); + return ; } } diff --git a/packages/react/src/components/IonRoute.tsx b/packages/react/src/components/IonRoute.tsx index c7dc0b1af4..eb7c64e6fc 100644 --- a/packages/react/src/components/IonRoute.tsx +++ b/packages/react/src/components/IonRoute.tsx @@ -4,9 +4,9 @@ import { NavContext } from '../contexts/NavContext'; export interface IonRouteProps { path?: string; - exact?: boolean; + end?: boolean; show?: boolean; - render: (props?: any) => JSX.Element; // TODO(FW-2959): type + element: React.ReactElement; disableIonPageManagement?: boolean; }