refactor(LOY-62): revert to switch case for ScriptedRewardText label text
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import type { IconProps } from "@/types/components/icon"
|
||||
import type {
|
||||
COUPON_REWARD_TYPES,
|
||||
RESTAURANT_REWARD_IDS,
|
||||
REWARD_IDS,
|
||||
REWARD_TYPES,
|
||||
} from "@/constants/rewards"
|
||||
|
||||
export interface RewardIconProps extends IconProps {
|
||||
@@ -14,4 +14,4 @@ export type RewardId = (typeof REWARD_IDS)[keyof typeof REWARD_IDS]
|
||||
|
||||
export type RestaurantRewardId = (typeof RESTAURANT_REWARD_IDS)[number]
|
||||
|
||||
export type CouponRewardType = (typeof COUPON_REWARD_TYPES)[number]
|
||||
export type RewardType = (typeof REWARD_TYPES)[number]
|
||||
|
||||
Reference in New Issue
Block a user