From 0b7acb35b7f4c727d7fe8e2c6d2181f843d0d703 Mon Sep 17 00:00:00 2001 From: daniel31x13 Date: Sat, 9 Nov 2024 14:14:13 -0500 Subject: [PATCH] minor change --- components/ProfileDropdown.tsx | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/components/ProfileDropdown.tsx b/components/ProfileDropdown.tsx index 9d1260b..80d5119 100644 --- a/components/ProfileDropdown.tsx +++ b/components/ProfileDropdown.tsx @@ -6,8 +6,6 @@ import { signOut } from "next-auth/react"; import { useTranslation } from "next-i18next"; import { useUser } from "@/hooks/store/user"; -const stripeEnabled = process.env.NEXT_PUBLIC_STRIPE === "true"; - export default function ProfileDropdown() { const { t } = useTranslation(); const { settings, updateSettings } = useLocalSettingsStore(); @@ -75,19 +73,6 @@ export default function ProfileDropdown() { )} - {!user.parentSubscriptionId && stripeEnabled && ( -
  • - (document?.activeElement as HTMLElement)?.blur()} - tabIndex={0} - role="button" - className="whitespace-nowrap" - > - {t("invite_users")} - -
  • - )}
  • {