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