import { clsx } from "clsx"; import { useAppDispatch, useAppSelector } from "@/hooks"; import { UpkQuestionChoice } from "@/api_fsb"; import { useGetMeQuery } from "@/models/authAPI"; import { ChevronRightIcon } from "lucide-react"; import { KeyboardEvent, MouseEvent, useEffect, useRef, useState } from "react"; import { useSelector } from "react-redux"; import { cashoutMethodsSelectors } from "@/models/cashoutMethodsSlice"; const RedemptionHeader = () => { const cashout_methods = useSelector(cashoutMethodsSelectors.selectAll); return ( <>

{/* {cashout_methods.length} Redemption Methods */} 30+ Redemption Methods

); }; const RedemptionModalBody = () => { return (
Paypal, Visa, Giftcards will be available. Finishing processing the transfer from Amazon.
); }; const Redemption = () => { const dispatch = useAppDispatch(); const { data: user, isLoading, isError } = useGetMeQuery(); const [showRedemption, setShowRedemption] = useState(false); return (
setShowRedemption(!showRedemption)} >

{/* (Click to {showRedemption ? "hide" : "show"}) */} Details within 24hr.

{showRedemption && }
); }; export default Redemption;