diff --git a/src/app/features/container/container.tsx b/src/app/features/container/container.tsx index 4379f003915..d75346fd546 100644 --- a/src/app/features/container/container.tsx +++ b/src/app/features/container/container.tsx @@ -83,6 +83,9 @@ export function Container() { return navigate(RouteUrls.SendCryptoAssetForm.replace(':symbol', 'stx')); case RouteUrls.SendBtcConfirmation: return navigate(RouteUrls.SendCryptoAssetForm.replace(':symbol', 'btc')); + case RouteUrls.RpcSignBip322Message: + // console.log('Pete '); + return null; default: return navigate(-1); } diff --git a/src/app/features/ledger/hooks/use-ledger-navigate.ts b/src/app/features/ledger/hooks/use-ledger-navigate.ts index 8a62b0f759f..67da2ae7c39 100644 --- a/src/app/features/ledger/hooks/use-ledger-navigate.ts +++ b/src/app/features/ledger/hooks/use-ledger-navigate.ts @@ -100,6 +100,12 @@ export function useLedgerNavigate() { }, cancelLedgerAction() { + // >> X in the dialog calls this same action but it doesn't know where the previous page is + // can propose removing this X in the ledger dialog as it doesn't do anything anyway??? + // most of the time it's greyed out until you reject + // TODO - test what happens for Approve + + console.log('pete', location.state); return navigate('..', { relative: 'path', replace: true, state: { ...location.state } }); }, diff --git a/src/app/features/message-signer/message-preview-box.tsx b/src/app/features/message-signer/message-preview-box.tsx index 32009cb5745..1d0c346a9a3 100644 --- a/src/app/features/message-signer/message-preview-box.tsx +++ b/src/app/features/message-signer/message-preview-box.tsx @@ -17,8 +17,8 @@ export function MessagePreviewBox({ message, hash }: MessageBoxProps) { py="space.05" overflowX="auto" > - {message.split(/\r?\n/).map(line => ( - + {message.split(/\r?\n/).map((line, index) => ( + {line} ))}