diff --git a/frontend/src/components/landing-layout/landing-layout.tsx b/frontend/src/components/landing-layout/landing-layout.tsx index 19afb7e56..e0f8adaff 100644 --- a/frontend/src/components/landing-layout/landing-layout.tsx +++ b/frontend/src/components/landing-layout/landing-layout.tsx @@ -8,7 +8,7 @@ import React from 'react' import { Container } from 'react-bootstrap' /** - * Renders the layout for both intro and history page. + * Renders the layout for both intro and explore page. * * @param children The children that should be rendered on the page. */ diff --git a/frontend/src/components/login-page/redirect-to-param-or-explore.tsx b/frontend/src/components/login-page/redirect-to-param-or-explore.tsx index 805e65473..c14079c32 100644 --- a/frontend/src/components/login-page/redirect-to-param-or-explore.tsx +++ b/frontend/src/components/login-page/redirect-to-param-or-explore.tsx @@ -10,7 +10,7 @@ import { useGetPostLoginRedirectUrl } from './utils/use-get-post-login-redirect- /** * Redirects the browser to the relative URL that is provided via "redirectBackTo" URL parameter. - * If no parameter has been provided or if the URL is not relative, then "/history" will be used. + * If no parameter has been provided or if the URL is not relative, then "/explore/my" will be used. */ export const RedirectToParamOrExplore: React.FC = () => { const redirectUrl = useGetPostLoginRedirectUrl() diff --git a/frontend/src/components/login-page/utils/use-get-post-login-redirect-url.ts b/frontend/src/components/login-page/utils/use-get-post-login-redirect-url.ts index 9d5cd8e79..6a020fafd 100644 --- a/frontend/src/components/login-page/utils/use-get-post-login-redirect-url.ts +++ b/frontend/src/components/login-page/utils/use-get-post-login-redirect-url.ts @@ -9,7 +9,7 @@ const defaultFallback = '/explore/my' /** * Returns the URL that the user should be redirected to after logging in. - * If no parameter has been provided or if the URL is not relative, then "/history" will be used. + * If no parameter has been provided or if the URL is not relative, then "/explore/my" will be used. */ export const useGetPostLoginRedirectUrl = (): string => { const redirectBackUrl = useSingleStringUrlParameter('redirectBackTo', defaultFallback)