Skip to content

Commit f06ef84

Browse files
fix: Fixes teams UI load issue (#13593)
* fixes teams uiload issue * revert: yarn.lock --------- Co-authored-by: Udit Takkar <udit222001@gmail.com>
1 parent 1080d7f commit f06ef84

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/features/ee/teams/components/CreateANewTeamForm.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ export const CreateANewTeamForm = () => {
4343
const orgBranding = useOrgBranding();
4444

4545
const returnToParam =
46-
(parsedQuery.success ? getSafeRedirectUrl(parsedQuery.data.returnTo) : "/settings/teams") ||
47-
"/settings/teams";
46+
(parsedQuery.success ? getSafeRedirectUrl(parsedQuery.data.returnTo) : "/teams") || "/teams";
4847

4948
const newTeamFormMethods = useForm<NewTeamFormValues>({
5049
defaultValues: {

0 commit comments

Comments
 (0)