import React from 'react' import {Separator} from "@/components/ui/separator" import {Link} from '@mui/material'; import {Card, CardContent, CardFooter, CardHeader, CardTitle} from "@/components/ui/card.tsx"; import {ScrollArea} from "@/components/ui/scroll-area.tsx"; import {CheckIcon, MessageCircleQuestionIcon, XIcon} from "lucide-react" import {SoftPairBucket} from "@/api/models/soft-pair-bucket.ts" import {useAppSelector} from '@/hooks' const BucketStatus: React.FC = ({bucket}) => { switch (bucket.eligibility) { case "eligible": return ; case "conditional": return ; case "ineligible": return ; } } const CallToAction: React.FC = ({bucket}) => { switch (bucket.eligibility) { case "eligible": return ; case "conditional": return ; case "ineligible": return ; } } const Offerwall = () => { const buckets = useAppSelector(state => state.buckets) return (
{buckets.map((bucket) => ( Card 1 {/**/} {/*4.5*/} {/**/} {/* */} {/**/}

Tags

{bucket.contents.map((survey) => ( <>
{survey.id_code} - {survey.loi} seconds - {survey.payout} cents
))}
))}
) } export {Offerwall}