fix(SW-696): add unwrap to surprises

add animations to sliding cards

various minor fixes
This commit is contained in:
Christian Andolf
2024-11-07 11:51:21 +01:00
parent 01638f4dd7
commit 0824f7ce26
14 changed files with 264 additions and 128 deletions
+3 -6
View File
@@ -1,11 +1,8 @@
import {
Reward,
SurpriseReward,
} from "@/server/routers/contentstack/reward/output"
import { Reward } from "@/server/routers/contentstack/reward/output"
export interface Surprise extends Reward {
endsAt: SurpriseReward["endsAt"]
id: SurpriseReward["id"]
coupons: { couponCode?: string; expiresAt?: string }[]
id?: string
}
export interface SurprisesProps {