Skip to content

Commit

Permalink
add address book autocomplete to CATs send tx
Browse files Browse the repository at this point in the history
  • Loading branch information
ronanlong committed Jul 20, 2023
1 parent 80dc27d commit cc959ae
Showing 1 changed file with 5 additions and 6 deletions.
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 cc959ae

Please sign in to comment.