Update screen/settings/IsItMyAddress.tsx

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
Marcos Rodriguez Vélez 2024-10-12 23:43:20 -04:00 committed by GitHub
parent 61da30262e
commit 795b336ff9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -104,7 +104,9 @@ const IsItMyAddress: React.FC = () => {
};
const onBarScanned = (value: string) => {
const cleanAddress = value.replace(/^bitcoin(:|=)/i, '').split('?')[0];
setAddress(value);
setResultCleanAddress(cleanAddress);
};
const importScan = async () => {