fix(LOY-10): use RewardIcon in redeem modal

This commit is contained in:
Chuma McPhoy
2024-12-09 10:51:38 +01:00
parent f5665eb93a
commit f403ac62df

View File

@@ -20,6 +20,8 @@ import Body from "@/components/TempDesignSystem/Text/Body"
import Caption from "@/components/TempDesignSystem/Text/Caption"
import Title from "@/components/TempDesignSystem/Text/Title"
import { RewardIcon } from "../RewardIcon"
import styles from "./current.module.css"
import type {
@@ -111,12 +113,7 @@ export default function Redeem({ reward }: Redeem) {
<Countdown />
</div>
)}
<Image
src="/_static/img/loyalty-award.png"
width={113}
height={125}
alt={reward.label || ""}
/>
<RewardIcon rewardId={reward.reward_id} />
<Title level="h3" textAlign="center" textTransform="regular">
{reward.label}
</Title>