fix: Fixes teams UI load issue (#13593)

* fixes teams uiload issue

* revert: yarn.lock

---------

Co-authored-by: Udit Takkar <udit222001@gmail.com>
This commit is contained in:
Anant Jain
2024-02-08 18:58:21 +00:00
committed by GitHub
co-authored by Udit Takkar
parent 1080d7f88f
commit f06ef84f61
@@ -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: {