File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ import { UB_BASE_URL } from "./constants";
55
66type PaymentLink = {
77 clientId : string ;
8- label ?: string ;
8+ title ?: string ;
9+ imageUrl ?: string ;
910 receiver : string ;
1011 destinationToken : {
1112 address : string ;
@@ -36,7 +37,8 @@ export async function getPaymentLink(props: {
3637 const { data } = await res . json ( ) ;
3738 return {
3839 clientId : data . clientId ,
39- label : data . label ,
40+ title : data . title ,
41+ imageUrl : data . imageUrl ,
4042 receiver : data . receiver ,
4143 destinationToken : data . destinationToken ,
4244 amount : data . amount ? BigInt ( data . amount ) : undefined ,
Original file line number Diff line number Diff line change @@ -62,7 +62,8 @@ export default async function PayPage({
6262 amount = { paymentLink . amount ? BigInt ( paymentLink . amount ) : undefined }
6363 token = { token }
6464 clientId = { paymentLink . clientId }
65- name = { paymentLink . label }
65+ name = { paymentLink . title }
66+ image = { paymentLink . imageUrl }
6667 theme = { theme }
6768 />
6869 ) ;
You can’t perform that action at this time.
0 commit comments