Skip to content

Commit

Permalink
Merge pull request #1926 from Chia-Network/checkpoint/main_from_relea…
Browse files Browse the repository at this point in the history
…se_2.0.0_a420c4ef0fbf37f2f55e15e8e610884b542a6f8c
  • Loading branch information
paninaro authored Jul 21, 2023
2 parents ddd792f + 42bd4c6 commit 8cdfce0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
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

0 comments on commit 8cdfce0

Please sign in to comment.