We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1080d7f commit f06ef84Copy full SHA for f06ef84
packages/features/ee/teams/components/CreateANewTeamForm.tsx
@@ -43,8 +43,7 @@ export const CreateANewTeamForm = () => {
43
const orgBranding = useOrgBranding();
44
45
const returnToParam =
46
- (parsedQuery.success ? getSafeRedirectUrl(parsedQuery.data.returnTo) : "/settings/teams") ||
47
- "/settings/teams";
+ (parsedQuery.success ? getSafeRedirectUrl(parsedQuery.data.returnTo) : "/teams") || "/teams";
48
49
const newTeamFormMethods = useForm<NewTeamFormValues>({
50
defaultValues: {
0 commit comments