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 = ({ )}
- deselectRoute(route.id)} - /> +
-
{route.name}
+
{routeName}
) } @@ -177,7 +174,13 @@ const RouteLadder = ({ return ( <> -
+
{ + deselectRoute(route.id) + }} + /> {}, + routeName: "39", + onClose: () => {}, hasAlert: false, }, + argTypes: { + onClose: { table: { disable: true } }, + }, } satisfies Meta export default meta