Skip to content

Commit

Permalink
fix: Fixes teams UI load issue (#13593)
Browse files Browse the repository at this point in the history
* fixes teams uiload issue

* revert: yarn.lock

---------

Co-authored-by: Udit Takkar <udit222001@gmail.com>
  • Loading branch information
anantJjain and Udit-takkar committed Feb 8, 2024
1 parent 1080d7f commit f06ef84
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/features/ee/teams/components/CreateANewTeamForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit f06ef84

Please sign in to comment.