mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-13 19:16:52 +01:00
Update SendDetails.tsx
This commit is contained in:
parent
85e47ac83d
commit
0481c8d6a9
1 changed files with 4 additions and 4 deletions
|
@ -868,12 +868,10 @@ const SendDetails = () => {
|
|||
);
|
||||
|
||||
useEffect(() => {
|
||||
console.log('SendDetails - onBarScanned hook triggered');
|
||||
const data = routeParams.onBarScanned;
|
||||
console.log('SendDetails - data:', data);
|
||||
if (data) {
|
||||
if (selectedDataProcessor.current) {
|
||||
console.log('SendDetails - selectedDataProcessor:', selectedDataProcessor.current);
|
||||
console.debug('SendDetails - selectedDataProcessor:', selectedDataProcessor.current);
|
||||
switch (selectedDataProcessor.current) {
|
||||
case CommonToolTipActions.ImportTransactionQR:
|
||||
importQrTransactionOnBarScanned(data);
|
||||
|
@ -882,11 +880,13 @@ const SendDetails = () => {
|
|||
handlePsbtSign(data);
|
||||
break;
|
||||
case CommonToolTipActions.SignPSBT:
|
||||
processAddressData(data);
|
||||
break;
|
||||
case CommonToolTipActions.ImportTransactionMultsig:
|
||||
_importTransactionMultisig(data);
|
||||
break;
|
||||
default:
|
||||
console.log('Unknown selectedDataProcessor:', selectedDataProcessor.current);
|
||||
console.debug('Unknown selectedDataProcessor:', selectedDataProcessor.current);
|
||||
}
|
||||
} else {
|
||||
onBarScanned(data);
|
||||
|
|
Loading…
Add table
Reference in a new issue