diff --git a/frontend/src/layouts/OrganizationLayout/components/NavBar/Navbar.tsx b/frontend/src/layouts/OrganizationLayout/components/NavBar/Navbar.tsx
index 19a1c5019..6cf2c0589 100644
--- a/frontend/src/layouts/OrganizationLayout/components/NavBar/Navbar.tsx
+++ b/frontend/src/layouts/OrganizationLayout/components/NavBar/Navbar.tsx
@@ -86,8 +86,6 @@ export const Navbar = () => {
const { user } = useUser();
const { subscription } = useSubscription();
const { currentOrg } = useOrganization();
- const [openSupport, setOpenSupport] = useState(false);
- const [openUser, setOpenUser] = useState(false);
const [showAdminsModal, setShowAdminsModal] = useState(false);
const { data: orgs } = useGetOrganizations();
@@ -167,16 +165,16 @@ export const Navbar = () => {
-
/
+
/
-
+
{currentOrg?.name}
-
+
{getPlan(subscription)}
@@ -187,7 +185,7 @@ export const Navbar = () => {
variant="plain"
colorSchema="secondary"
ariaLabel="switch-org"
- className="px-2 rounded-md py-2 hover:bg-mineshaft-600"
+ className="rounded-md px-2 py-2 hover:bg-mineshaft-600"
>
@@ -246,7 +244,7 @@ export const Navbar = () => {
-
/
+
/
{breadcrumbs ? (
@@ -254,22 +252,13 @@ export const Navbar = () => {
) : null}
-
- setOpenSupport(true)}
- onMouseLeave={() => setOpenSupport(false)}
- >
-
+
+
+
- setOpenSupport(true)}
- onMouseLeave={() => setOpenSupport(false)}
- >
+
{INFISICAL_SUPPORT_OPTIONS.map(([icon, text, url]) => {
if (url === "server-admins" && isInfisicalCloud()) {
return null;
@@ -311,23 +300,13 @@ export const Navbar = () => {
)}
-
- setOpenUser(true)}
- onMouseLeave={() => setOpenUser(false)}
- >
-
+
+
+
- setOpenUser(true)}
- onMouseLeave={() => setOpenUser(false)}
- >
+