From 6da5d05a877122e87201a5806e434466ffa9c23a Mon Sep 17 00:00:00 2001 From: Cheslav Zhuravsky Date: Wed, 29 May 2024 19:58:33 +0700 Subject: [PATCH] update --- front/src/components/main/TonWallet.tsx | 2 +- front/src/pages/Main/Main.tsx | 63 +++++++++++-------------- 2 files changed, 28 insertions(+), 37 deletions(-) diff --git a/front/src/components/main/TonWallet.tsx b/front/src/components/main/TonWallet.tsx index c7b31578..7a52ff41 100644 --- a/front/src/components/main/TonWallet.tsx +++ b/front/src/components/main/TonWallet.tsx @@ -53,7 +53,7 @@ const TonWallet = ({ nickname, message, type }) => { >

{ */}

- }> - { - if (connected) { - tonConnectUI.disconnect(); - } - - setMessage(e.target.value); - }} - /> - - - {textProof && ( -
-
- {JSON.stringify(textProof)} -
- )} -
- }> { {JSON.stringify(passportProof)} )} + - {tonProof && ( -
}> + { + if (connected) { + tonConnectUI.disconnect(); + } + + setMessage(e.target.value); }} - > -
- {JSON.stringify(tonProof)} -
- )} - + /> + + + {textProof && ( +
+
+ {JSON.stringify(textProof)} +
+ )} + + )} );