Merged in fix/env-cleanup (pull request #3132)

fix(env): remove SHOW_SITEWIDE_ALERT and USE_NEW_REWARD_MODEL

* fix(env): remove SHOW_SITEWIDE_ALERT and USE_NEW_REWARD_MODEL


Approved-by: Matilda Landström
Approved-by: Chuma Mcphoy (We Ahead)
This commit is contained in:
Linus Flood
2025-11-12 09:04:59 +00:00
parent 9fbbd3a91b
commit f8577dd09a
4 changed files with 1 additions and 24 deletions

View File

@@ -1,4 +1,3 @@
import { env } from "@/env/server"
import {
getCurrentRewards,
getMembershipLevel,
@@ -31,7 +30,7 @@ export default async function CurrentRewardsBlock({
<SectionHeader title={title} link={link} preamble={subtitle} />
<ClientCurrentRewards
rewards={rewardsResponse.rewards}
showRedeem={env.USE_NEW_REWARD_MODEL}
showRedeem={true}
membershipNumber={membershipLevel?.membershipNumber}
/>
<SectionLink link={link} variant="mobile" />