diff --git a/apps/web/pages/settings/my-account/appearance.tsx b/apps/web/pages/settings/my-account/appearance.tsx index dacdf8dd3f..a2f0bb36b9 100644 --- a/apps/web/pages/settings/my-account/appearance.tsx +++ b/apps/web/pages/settings/my-account/appearance.tsx @@ -1,5 +1,6 @@ "use client"; +import { useSession } from "next-auth/react"; import { useState } from "react"; import { Controller, useForm } from "react-hook-form"; import type { z } from "zod"; @@ -94,6 +95,8 @@ const AppearanceView = ({ }) => { const { t } = useLocale(); const utils = trpc.useUtils(); + const session = useSession(); + const isApartOfOrganization = session.data?.user.org?.id; const [darkModeError, setDarkModeError] = useState(false); const [lightModeError, setLightModeError] = useState(false); const [isCustomBrandColorChecked, setIsCustomBranColorChecked] = useState( @@ -237,172 +240,176 @@ const AppearanceView = ({ -
{t("theme")}
-{t("theme_applies_note")}
-