File tree Expand file tree Collapse file tree
packages/features/ee/teams/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import { DialogFooter } from "@calcom/ui/components/dialog";
1313import { Form } from "@calcom/ui/components/form" ;
1414import { TextField } from "@calcom/ui/components/form" ;
1515import { revalidateEventTypesList } from "@calcom/web/app/(use-page-wrapper)/(main-nav)/event-types/actions" ;
16+ import { revalidateTeamsList } from "@calcom/web/app/(use-page-wrapper)/(main-nav)/teams/actions" ;
1617
1718import { useOrgBranding } from "../../organizations/context/provider" ;
1819import { subdomainSuffix } from "../../organizations/lib/orgDomains" ;
@@ -44,6 +45,7 @@ export const CreateANewTeamForm = (props: CreateANewTeamFormProps) => {
4445 onSuccess : async ( data ) => {
4546 await utils . viewer . eventTypes . getUserEventGroups . invalidate ( ) ;
4647 revalidateEventTypesList ( ) ;
48+ revalidateTeamsList ( ) ;
4749 onSuccess ( data ) ;
4850 } ,
4951
You can’t perform that action at this time.
0 commit comments