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:
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: {
|
||||
|
||||
Reference in New Issue
Block a user