From 1e550a1ce6d27ec31eb503c30656061c814a5ed9 Mon Sep 17 00:00:00 2001 From: Jay Hodgson Date: Fri, 27 Oct 2023 12:16:27 -0700 Subject: [PATCH] fix comment --- apps/portals/src/portal-components/RedirectToURL.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/portals/src/portal-components/RedirectToURL.tsx b/apps/portals/src/portal-components/RedirectToURL.tsx index 9ca933608a..e8fee6b6f1 100644 --- a/apps/portals/src/portal-components/RedirectToURL.tsx +++ b/apps/portals/src/portal-components/RedirectToURL.tsx @@ -6,7 +6,8 @@ export type RedirectToURLProps = { } /** - * Allows us to use react-router's Redirect as a portal component without losing the query params. + * Allows us to redirect to an arbitrary URL. If search is provided, then it will only redirect if the + * search parameter matches this string. * @param props * @returns */