import clsx from 'clsx' import { useEffect, useState } from 'react' import { useUser } from 'web/hooks/use-user' import { checkoutURL } from 'web/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<1000 | 2500 | 10000>( 2500 ) const location = useLocation() return ( <>