diff --git a/frontend/src/routes/guest/register/index.tsx b/frontend/src/routes/guest/register/index.tsx index 7b419965373f37412c91af5020a219615b1940af..53d0821d074c58e239f2e4d18cbb22940214dd3d 100644 --- a/frontend/src/routes/guest/register/index.tsx +++ b/frontend/src/routes/guest/register/index.tsx @@ -353,7 +353,10 @@ export default function GuestRegister() { } const handleCancel = () => { - history.push('/') + // Go back to the invite page. The invitation ID does not need + // to be specified here, since the user has already been + // logged in and can be identified without the invitation ID + history.push('/invite') } return (