Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

checkpoint: into main from release/2.0.0 @ a420c4ef0fbf37f2f55e15e8e610884b542a6f8c #1926

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions packages/wallets/src/components/WalletSend.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ type SendCardProps = {

type SendTransactionData = {
address: string;
addressAuto: string;
amount: string;
fee: string;
memo: string;
Expand Down Expand Up @@ -69,7 +68,6 @@ export default function WalletSend(props: SendCardProps) {
const methods = useForm<SendTransactionData>({
defaultValues: {
address: '',
addressAuto: '',
amount: '',
fee: '',
memo: '',
Expand Down
11 changes: 5 additions & 6 deletions packages/wallets/src/components/cat/WalletCATSend.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import isNumeric from 'validator/es/lib/isNumeric';

import useWallet from '../../hooks/useWallet';
import useWalletState from '../../hooks/useWalletState';
import AddressBookAutocomplete from '../AddressBookAutocomplete';
import CreateWalletSendTransactionResultDialog from '../WalletSendTransactionResultDialog';

type Props = {
Expand Down Expand Up @@ -187,15 +188,13 @@ export default function WalletCATSend(props: Props) {
<Card>
<Grid spacing={2} container>
<Grid xs={12} item>
<TextField
<AddressBookAutocomplete
name="address"
getType="address"
freeSolo
variant="filled"
color="secondary"
fullWidth
disabled={isSubmitting}
label={<Trans>Address / Puzzle hash</Trans>}
data-testid="WalletCATSend-address"
required
disabled={isSubmitting}
/>
</Grid>
<Grid xs={12} md={6} item>
Expand Down
Loading