fix: Fixes teams UI load issue (#13593)

* fixes teams uiload issue

* revert: yarn.lock

---------

Co-authored-by: Udit Takkar <[email protected]>
This commit is contained in:
Anant JainandUdit Takkar authored and GitHub committed 2024-02-08 18:58:21 +00:00
1 parent 1080d7f88f
commit f06ef84f61
1 file changed
+1 -2
@@ -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<NewTeamFormValues>({
defaultValues: {