Merge remote-tracking branch 'origin' into feature/tracking
This commit is contained in:
@@ -43,6 +43,7 @@ function setCardProps(
|
||||
href: `?s=${href}`,
|
||||
title: buttonText,
|
||||
isExternal: false,
|
||||
scrollOnClick: false,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
5
utils/rewards.ts
Normal file
5
utils/rewards.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { RewardId } from "@/types/enums/rewards"
|
||||
|
||||
export function isValidRewardId(id: string): id is RewardId {
|
||||
return Object.values<string>(RewardId).includes(id)
|
||||
}
|
||||
Reference in New Issue
Block a user