minor change
This commit is contained in:
parent
9b58ea5c98
commit
0b7acb35b7
|
@ -6,8 +6,6 @@ import { signOut } from "next-auth/react";
|
||||||
import { useTranslation } from "next-i18next";
|
import { useTranslation } from "next-i18next";
|
||||||
import { useUser } from "@/hooks/store/user";
|
import { useUser } from "@/hooks/store/user";
|
||||||
|
|
||||||
const stripeEnabled = process.env.NEXT_PUBLIC_STRIPE === "true";
|
|
||||||
|
|
||||||
export default function ProfileDropdown() {
|
export default function ProfileDropdown() {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
const { settings, updateSettings } = useLocalSettingsStore();
|
const { settings, updateSettings } = useLocalSettingsStore();
|
||||||
|
@ -75,19 +73,6 @@ export default function ProfileDropdown() {
|
||||||
</Link>
|
</Link>
|
||||||
</li>
|
</li>
|
||||||
)}
|
)}
|
||||||
{!user.parentSubscriptionId && stripeEnabled && (
|
|
||||||
<li>
|
|
||||||
<Link
|
|
||||||
href="/settings/billing"
|
|
||||||
onClick={() => (document?.activeElement as HTMLElement)?.blur()}
|
|
||||||
tabIndex={0}
|
|
||||||
role="button"
|
|
||||||
className="whitespace-nowrap"
|
|
||||||
>
|
|
||||||
{t("invite_users")}
|
|
||||||
</Link>
|
|
||||||
</li>
|
|
||||||
)}
|
|
||||||
<li>
|
<li>
|
||||||
<div
|
<div
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
|
Ŝarĝante…
Reference in New Issue