From bd664e71027078f4ada62a74fc9b5b76c03cec7c Mon Sep 17 00:00:00 2001 From: mehditorabiv Date: Wed, 4 Dec 2024 17:41:18 +0300 Subject: [PATCH] fix connect button --- src/pages/reputation-score/index.tsx | 2 +- src/pages/reputation-score/mint.tsx | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/pages/reputation-score/index.tsx b/src/pages/reputation-score/index.tsx index 70f26af8..847212c6 100644 --- a/src/pages/reputation-score/index.tsx +++ b/src/pages/reputation-score/index.tsx @@ -52,7 +52,7 @@ function ReputationScore() { Reputation Score - + Reputation Score is a number between 0 and 100 that represents diff --git a/src/pages/reputation-score/mint.tsx b/src/pages/reputation-score/mint.tsx index 28c7bec9..3a8d5107 100644 --- a/src/pages/reputation-score/mint.tsx +++ b/src/pages/reputation-score/mint.tsx @@ -157,7 +157,7 @@ const ConnectWalletSection: React.FC = () => ( To mint your reputation score, please connect your wallet. - + @@ -168,11 +168,10 @@ const AttestationSection: React.FC = ({ isLoading, userProfile, }) => { - const router = useRouter(); const handleNavigation = () => { const url = 'https://identity-on-chain-platform.pages.dev/permissions'; - router.push(url); + window.open(url, '_blank'); }; return (