@@ -46,7 +46,7 @@ export const PaymentSelectionContent = () => {
4646
4747 const [ disableButtons , setDisableButtons ] = useState ( false )
4848 const [ isError , setIsError ] = useState < boolean > ( false )
49- const [ isBuildingPurchaseTx , setIsBuildingPurchaseTx ] = useState < boolean > ( false )
49+ const [ isPreparingTransaction , setIsPreparingTransaction ] = useState < boolean > ( false )
5050
5151 const {
5252 chain,
@@ -147,7 +147,7 @@ export const PaymentSelectionContent = () => {
147147 return
148148 }
149149
150- setIsBuildingPurchaseTx ( true )
150+ setIsPreparingTransaction ( true )
151151 setIsError ( false )
152152 setDisableButtons ( true )
153153
@@ -215,7 +215,7 @@ export const PaymentSelectionContent = () => {
215215 }
216216 } )
217217
218- setIsBuildingPurchaseTx ( false )
218+ setIsPreparingTransaction ( false )
219219 closeSelectPaymentModal ( )
220220
221221 skipOnCloseCallback ( )
@@ -251,7 +251,7 @@ export const PaymentSelectionContent = () => {
251251 return
252252 }
253253
254- setIsBuildingPurchaseTx ( true )
254+ setIsPreparingTransaction ( true )
255255 setIsError ( false )
256256 setDisableButtons ( true )
257257
@@ -344,7 +344,7 @@ export const PaymentSelectionContent = () => {
344344 }
345345 } )
346346
347- setIsBuildingPurchaseTx ( false )
347+ setIsPreparingTransaction ( false )
348348 closeSelectPaymentModal ( )
349349
350350 skipOnCloseCallback ( )
@@ -478,7 +478,7 @@ export const PaymentSelectionContent = () => {
478478 }
479479 shape = "square"
480480 variant = "primary"
481- label = { isBuildingPurchaseTx ? 'Building Transaction...' : 'Complete Purchase' }
481+ label = { isPreparingTransaction ? 'Preparing Transaction...' : 'Complete Purchase' }
482482 />
483483 < div className = "flex w-full justify-center items-center gap-0.5 my-2" >
484484 { /* Replace by icon from design-system once new release is out */ }
0 commit comments