From f06ef84f617b1682f15721918bcff09f56335544 Mon Sep 17 00:00:00 2001 From: Anant Jain <75206987+anantJjain@users.noreply.github.com> Date: Fri, 9 Feb 2024 00:28:21 +0530 Subject: [PATCH] fix: Fixes teams UI load issue (#13593) * fixes teams uiload issue * revert: yarn.lock --------- Co-authored-by: Udit Takkar --- packages/features/ee/teams/components/CreateANewTeamForm.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/features/ee/teams/components/CreateANewTeamForm.tsx b/packages/features/ee/teams/components/CreateANewTeamForm.tsx index 4aa012d88b38de..a1b2ccea2f045d 100644 --- a/packages/features/ee/teams/components/CreateANewTeamForm.tsx +++ b/packages/features/ee/teams/components/CreateANewTeamForm.tsx @@ -43,8 +43,7 @@ export const CreateANewTeamForm = () => { const orgBranding = useOrgBranding(); const returnToParam = - (parsedQuery.success ? getSafeRedirectUrl(parsedQuery.data.returnTo) : "/settings/teams") || - "/settings/teams"; + (parsedQuery.success ? getSafeRedirectUrl(parsedQuery.data.returnTo) : "/teams") || "/teams"; const newTeamFormMethods = useForm({ defaultValues: {