From 74c292cc579f9a5fc60289f50e945c74c46a311d Mon Sep 17 00:00:00 2001 From: Tushar Bhatt <95581504+TusharBhatt1@users.noreply.github.com> Date: Mon, 10 Feb 2025 22:02:08 +0530 Subject: [PATCH] feat: remove tabs when only user and no team (#19222) --- .../event-types/views/event-types-listing-view.tsx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/apps/web/modules/event-types/views/event-types-listing-view.tsx b/apps/web/modules/event-types/views/event-types-listing-view.tsx index 8fc5acd87c..63c3dd7016 100644 --- a/apps/web/modules/event-types/views/event-types-listing-view.tsx +++ b/apps/web/modules/event-types/views/event-types-listing-view.tsx @@ -934,12 +934,8 @@ const InfiniteScrollMain = ({ return ( <> - {eventTypeGroups.length >= 1 && ( - <> - - - - )} + {eventTypeGroups.length > 1 && } + {eventTypeGroups.length >= 1 && } {eventTypeGroups.length === 0 && } {searchParams?.get("dialog") === "duplicate" && }