@@ -35,7 +35,8 @@ export const UnifiedSendFormView: SnapComponent<UnifiedSendFormViewProps> = ({
3535 messages,
3636} ) => {
3737 const t = translate ( messages ) ;
38- const { amount, exchangeRate, network, from, explorerUrl } = context ;
38+ const { amount, exchangeRate, network, from, recipient, explorerUrl } =
39+ context ;
3940
4041 const psbt = Psbt . from_string ( context . psbt ) ;
4142 const fee = psbt . fee ( ) . to_sat ( ) ;
@@ -87,7 +88,7 @@ export const UnifiedSendFormView: SnapComponent<UnifiedSendFormViewProps> = ({
8788 < Box > { null } </ Box >
8889 < Box alignment = "space-between" direction = "horizontal" >
8990 < SnapText fontWeight = "medium" color = "alternative" >
90- { t ( 'confirmation.account ' ) }
91+ { t ( 'from ' ) }
9192 </ SnapText >
9293 { isValidSnapLinkProtocol ( explorerUrl ) ? (
9394 < Link href = { displayExplorerUrl ( explorerUrl , from ) } >
@@ -98,6 +99,29 @@ export const UnifiedSendFormView: SnapComponent<UnifiedSendFormViewProps> = ({
9899 ) }
99100 </ Box >
100101 < Box > { null } </ Box >
102+ < Box alignment = "space-between" direction = "horizontal" >
103+ < SnapText fontWeight = "medium" color = "alternative" >
104+ { t ( 'toAddress' ) }
105+ </ SnapText >
106+ { isValidSnapLinkProtocol ( explorerUrl ) ? (
107+ < Link href = { displayExplorerUrl ( explorerUrl , recipient ) } >
108+ < Address
109+ address = { displayCaip10 ( network , recipient ) }
110+ truncate
111+ displayName
112+ avatar
113+ />
114+ </ Link >
115+ ) : (
116+ < Address
117+ address = { displayCaip10 ( network , recipient ) }
118+ truncate
119+ displayName
120+ avatar
121+ />
122+ ) }
123+ </ Box >
124+ < Box > { null } </ Box >
101125 < Box alignment = "space-between" direction = "horizontal" >
102126 < SnapText fontWeight = "medium" color = "alternative" >
103127 { t ( 'network' ) }
0 commit comments