( returnTo: string, navigateTo = "/login", )
| 6 | * @returns URL containing a redirect query parameter |
| 7 | */ |
| 8 | export const embedRedirect = ( |
| 9 | returnTo: string, |
| 10 | navigateTo = "/login", |
| 11 | ): string => `${navigateTo}?redirect=${encodeURIComponent(returnTo)}`; |
| 12 | |
| 13 | /** |
| 14 | * Retrieves a url from the query string of the current URL |
no outgoing calls
no test coverage detected