refactor(SW-556): project specific fixes

This commit is contained in:
Christian Andolf
2024-10-15 10:50:14 +02:00
parent 3206319254
commit e5b4b6f82e
4 changed files with 44 additions and 31 deletions
@@ -13,13 +13,8 @@ import Surprises from "../Surprises"
import styles from "./current.module.css"
type CurrentRewardsClientProps = {
initialCurrentRewards: {
rewards: Reward[]
apiRewards: ApiReward[]
nextCursor: number | undefined
}
}
import type { CurrentRewardsClientProps } from "@/types/components/blocks/currentRewards"
export default function ClientCurrentRewards({
initialCurrentRewards,
}: CurrentRewardsClientProps) {