From 795b336ff901d1e76ede7da64198a601ed70ed16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Rodriguez=20V=C3=A9lez?= Date: Sat, 12 Oct 2024 23:43:20 -0400 Subject: [PATCH] Update screen/settings/IsItMyAddress.tsx Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- screen/settings/IsItMyAddress.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/screen/settings/IsItMyAddress.tsx b/screen/settings/IsItMyAddress.tsx index a63939ef9..5449fd1a4 100644 --- a/screen/settings/IsItMyAddress.tsx +++ b/screen/settings/IsItMyAddress.tsx @@ -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 () => {