@@ -22,11 +22,12 @@ const GrantInteractionPage = ({
2222 grant,
2323 interactionId,
2424 nonce,
25- clientName : _clientName
25+ clientName
2626} : GrantInteractionPageProps ) => {
2727 const [ openDialog , closeDialog ] = useDialog ( )
2828 const router = useRouter ( )
2929 const isPendingGrant = grant . state === 'PENDING'
30+ const client = clientName ? clientName : grant . client
3031 const imageName =
3132 THEME === 'dark' ? '/grants-dark.webp' : '/grants-light.webp'
3233
@@ -68,12 +69,13 @@ const GrantInteractionPage = ({
6869 < div className = "mt-20 text-base" >
6970 { grant . access . length === 1 ? (
7071 < div >
71- Your wallet is requesting access to an amount of{ ' ' }
72+ { client } is requesting access to make payments to an amount of{ ' ' }
7273 { grant . access [ 0 ] ?. limits ?. debitAmount ?. formattedAmount } .
7374 </ div >
7475 ) : (
7576 < div >
76- Your wallet is requesting access to the following amounts:{ ' ' }
77+ { client } is requesting access to make payments on the following
78+ amounts:{ ' ' }
7779 { grant . access
7880 . map (
7981 ( accessItem ) =>
@@ -123,12 +125,12 @@ const GrantInteractionPage = ({
123125 < div className = "mt-20 text-xl" >
124126 { grant . access . length === 1 ? (
125127 < div >
126- Your wallet previously granted access to an amount of{ ' ' }
128+ { client } was previously granted access to an amount of{ ' ' }
127129 { grant . access [ 0 ] ?. limits ?. debitAmount ?. formattedAmount } .
128130 </ div >
129131 ) : (
130132 < div >
131- Your wallet previously granted access to the following amounts:{ ' ' }
133+ { client } was previously granted access to the following amounts:{ ' ' }
132134 { grant . access
133135 . map (
134136 ( accessItem ) =>
0 commit comments