fix(SW-126): feature flag communications settings in profile

This commit is contained in:
Michael Zetterberg
2024-10-14 13:47:26 +02:00
parent 55df33d26c
commit 261d1bc3c7
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,4 @@
import { ArrowRightIcon } from "@/components/Icons"
import ManagePreferencesButton from "@/components/Profile/ManagePreferencesButton"
import Link from "@/components/TempDesignSystem/Link"
import Body from "@/components/TempDesignSystem/Text/Body"
import Subtitle from "@/components/TempDesignSystem/Text/Subtitle"
import { getIntl } from "@/i18n"

View File

@@ -1,3 +1,5 @@
import { env } from "@/env/server"
import Divider from "@/components/TempDesignSystem/Divider"
import type { ProfileLayoutProps } from "@/types/components/myPages/myProfile/layout"
@@ -15,7 +17,7 @@ export default function ProfileLayout({
{profile}
<Divider color="burgundy" opacity={8} />
{creditCards}
{communication}
{env.HIDE_FOR_NEXT_RELEASE ? null : communication}
</section>
</main>
)