Merged in fix/feature-flag-communications (pull request #685)
fix: feature flag communications settings in profile Approved-by: Christian Andolf
This commit is contained in:
@@ -1,6 +1,4 @@
|
|||||||
import { ArrowRightIcon } from "@/components/Icons"
|
|
||||||
import ManagePreferencesButton from "@/components/Profile/ManagePreferencesButton"
|
import ManagePreferencesButton from "@/components/Profile/ManagePreferencesButton"
|
||||||
import Link from "@/components/TempDesignSystem/Link"
|
|
||||||
import Body from "@/components/TempDesignSystem/Text/Body"
|
import Body from "@/components/TempDesignSystem/Text/Body"
|
||||||
import Subtitle from "@/components/TempDesignSystem/Text/Subtitle"
|
import Subtitle from "@/components/TempDesignSystem/Text/Subtitle"
|
||||||
import { getIntl } from "@/i18n"
|
import { getIntl } from "@/i18n"
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
import { env } from "@/env/server"
|
||||||
|
|
||||||
import Divider from "@/components/TempDesignSystem/Divider"
|
import Divider from "@/components/TempDesignSystem/Divider"
|
||||||
|
|
||||||
import type { ProfileLayoutProps } from "@/types/components/myPages/myProfile/layout"
|
import type { ProfileLayoutProps } from "@/types/components/myPages/myProfile/layout"
|
||||||
@@ -15,7 +17,7 @@ export default function ProfileLayout({
|
|||||||
{profile}
|
{profile}
|
||||||
<Divider color="burgundy" opacity={8} />
|
<Divider color="burgundy" opacity={8} />
|
||||||
{creditCards}
|
{creditCards}
|
||||||
{communication}
|
{env.HIDE_FOR_NEXT_RELEASE ? null : communication}
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user