Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

Fix address copy #738

Merged
merged 1 commit into from
Jun 22, 2023
Merged
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: 1 addition & 1 deletion src/modals/ReceiveModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const ReceiveModal = ({ onClose, addressHash }: ReceiveModalProps) => {
const defaultAddress = useAppSelector(selectDefaultAddress)
const address = useAppSelector((state) => selectAddressByHash(state, addressHash ?? ''))

const [selectedAddress, setSelectedAddress] = useState(defaultAddress)
const [selectedAddress, setSelectedAddress] = useState(address ?? defaultAddress)

return (
<CenteredModal title={t('Receive')} onClose={onClose}>
Expand Down