add funds: remove M$500 purchase option
This commit is contained in:
parent
5bf36d1963
commit
ea07edcbd3
|
@ -134,11 +134,11 @@ export function ChooseCancelSelector(props: {
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
const fundAmounts = [500, 1000, 2500, 10000]
|
const fundAmounts = [1000, 2500, 10000]
|
||||||
|
|
||||||
export function FundsSelector(props: {
|
export function FundsSelector(props: {
|
||||||
selected: 500 | 1000 | 2500 | 10000
|
selected: 1000 | 2500 | 10000
|
||||||
onSelect: (selected: 500 | 1000 | 2500 | 10000) => void
|
onSelect: (selected: 1000 | 2500 | 10000) => void
|
||||||
className?: string
|
className?: string
|
||||||
btnClassName?: string
|
btnClassName?: string
|
||||||
}) {
|
}) {
|
||||||
|
|
|
@ -10,9 +10,9 @@ import { Page } from '../components/page'
|
||||||
export default function AddFundsPage() {
|
export default function AddFundsPage() {
|
||||||
const user = useUser()
|
const user = useUser()
|
||||||
|
|
||||||
const [amountSelected, setAmountSelected] = useState<
|
const [amountSelected, setAmountSelected] = useState<1000 | 2500 | 10000>(
|
||||||
500 | 1000 | 2500 | 10000
|
2500
|
||||||
>(500)
|
)
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Page>
|
<Page>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user