import clsx from 'clsx' import { useState } from 'react' import { useUser } from '../hooks/use-user' import { checkoutURL } from '../lib/service/stripe' import { FundsSelector } from './yes-no-selector' export function AddFundsButton(props: { className?: string }) { const { className } = props const user = useUser() const [amountSelected, setAmountSelected] = useState< 500 | 1000 | 2500 | 10000 >(500) return ( <>