(href: string)
| 10 | let [selectedRoute, setSelectedRoute] = useState<string>(props.defaultSelectedRoute); |
| 11 | |
| 12 | let updateSelection = (href: string) => { |
| 13 | setSelectedRoute(href); |
| 14 | }; |
| 15 | |
| 16 | return <RouterProvider navigate={updateSelection}>{children({selectedRoute})}</RouterProvider>; |
| 17 | } |
nothing calls this directly
no outgoing calls
no test coverage detected