From 070a6ccbe51f02c872aef5adc1cba8623bac2b2a Mon Sep 17 00:00:00 2001 From: PhilReact Date: Sun, 14 Apr 2024 23:19:55 +0300 Subject: [PATCH] changes to the request payment --- src/App.tsx | 74 +++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 63 insertions(+), 11 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index a728966..52f9f67 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -717,24 +717,76 @@ function App() { )} {extState === "web-app-request-payment" && ( <> -

{sendqortState?.hostname}

-

{sendqortState?.description}

-

{sendqortState?.address}

- + + + + The Application

{" "} + {sendqortState?.hostname}

+ is requesting a payment +
+ + {sendqortState?.description} + + + {sendqortState?.amount} QORT + + + + Confirm wallet password -
- + + setPaymentPassword(e.target.value)} /> - - + + + confirmPayment(false)} + > + accept + + confirmPayment(true)} + > + decline + + {sendPaymentError} - {sendPaymentSuccess} + )} {extState === "web-app-request-connection" && (