diff --git a/src/features/zap/components/zap-pay-request-form.tsx b/src/features/zap/components/zap-pay-request-form.tsx index 9b34da7f6..67b855b3b 100644 --- a/src/features/zap/components/zap-pay-request-form.tsx +++ b/src/features/zap/components/zap-pay-request-form.tsx @@ -4,7 +4,7 @@ import { FormattedMessage, defineMessages, useIntl } from 'react-intl'; import { zap } from 'soapbox/actions/interactions'; import { openModal, closeModal } from 'soapbox/actions/modals'; import Account from 'soapbox/components/account'; -import { Stack, Button, Select } from 'soapbox/components/ui'; +import { Stack, Button, Input } from 'soapbox/components/ui'; import { useAppDispatch } from 'soapbox/hooks'; import type { Account as AccountEntity, Status as StatusEntity } from 'soapbox/types/entities'; @@ -23,7 +23,7 @@ const ZapPayRequestForm = ({ account, status }: IZapPayRequestForm) => { const intl = useIntl(); const dispatch = useAppDispatch(); const [zapComment, setZapComment] = useState(''); - const [zapAmount, setZapAmount] = useState(1); + const [zapAmount, setZapAmount] = useState(500); const handleSubmit = async (e?: React.FormEvent) => { e?.preventDefault(); @@ -40,34 +40,26 @@ const ZapPayRequestForm = ({ account, status }: IZapPayRequestForm) => { } }; - const zapOptions = () => { - return ( - [ - , - , - , - , - , - ] - ); - }; - return ( - + - setZapComment(e.target.value)} - placeholder={intl.formatMessage(messages.zap_commentPlaceholder)} - /> -