From 67db9679fa20ea2bdc08cbe3313c17025a5e4ae4 Mon Sep 17 00:00:00 2001 From: = Date: Wed, 2 Oct 2024 00:31:27 +0530 Subject: [PATCH] feat: removed not needed tooltip --- .../RolePermissionsSection.tsx | 26 ++++++++----------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/frontend/src/views/Project/RolePage/components/RolePermissionsSection/RolePermissionsSection.tsx b/frontend/src/views/Project/RolePage/components/RolePermissionsSection/RolePermissionsSection.tsx index 55d9a71cc..fb3567897 100644 --- a/frontend/src/views/Project/RolePage/components/RolePermissionsSection/RolePermissionsSection.tsx +++ b/frontend/src/views/Project/RolePage/components/RolePermissionsSection/RolePermissionsSection.tsx @@ -5,7 +5,7 @@ import { zodResolver } from "@hookform/resolvers/zod"; import { twMerge } from "tailwind-merge"; import { createNotification } from "@app/components/notifications"; -import { Button, Modal, ModalContent, ModalTrigger, Tooltip } from "@app/components/v2"; +import { Button, Modal, ModalContent, ModalTrigger } from "@app/components/v2"; import { ProjectPermissionSub, useWorkspace } from "@app/context"; import { usePopUp } from "@app/hooks"; import { useGetProjectRoleBySlug, useUpdateProjectRole } from "@app/hooks/api"; @@ -105,20 +105,16 @@ export const RolePermissionsSection = ({ roleSlug, isDisabled }: Props) => { isOpen={popUp.createPolicy.isOpen} onOpenChange={(isOpen) => handlePopUpToggle("createPolicy", isOpen)} > - -
- - - -
-
+ + +