diff --git a/assets/src/components/routeLadder.tsx b/assets/src/components/routeLadder.tsx index ba2f30cfe..72f535f8f 100644 --- a/assets/src/components/routeLadder.tsx +++ b/assets/src/components/routeLadder.tsx @@ -43,12 +43,12 @@ interface Props { } export const Header = ({ - route, - deselectRoute, + routeName, + onClose, hasAlert, }: { - route: Route - deselectRoute: (routeId: RouteId) => void + routeName: string + onClose: () => void hasAlert: boolean }) => { return ( @@ -66,13 +66,10 @@ export const Header = ({ )}