We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee4684b commit 964e734Copy full SHA for 964e734
static/app/utils/getRouteStringFromRoutes.tsx
@@ -20,7 +20,8 @@ export type Props =
20
* It will look for the last route path that begins with a `/` and
21
* concatenate all of the following routes. Skips any routes without a path
22
*
23
- * @param params.routes An array of route objects from react-router
+ * @param params.matches An array of UIMatch objects from react-router-dom `useMatches()`
24
+ * @param @deprecated params.routes An array of route objects from react-router
25
* @returns A route path string
26
*/
27
export function getRouteStringFromRoutes({routes, matches}: Props): string {
0 commit comments