Skip to content

Commit

Permalink
fix connect button (#355)
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdi-torabiv authored Dec 4, 2024
1 parent affd0a6 commit e62dd59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/pages/reputation-score/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function ReputationScore() {
<Typography variant='h5' fontWeight='bold'>
Reputation Score
</Typography>
<ConnectButton chainStatus='none' />
<ConnectButton />
</Stack>
<Typography variant='body2'>
Reputation Score is a number between 0 and 100 that represents
Expand Down
5 changes: 2 additions & 3 deletions src/pages/reputation-score/mint.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ const ConnectWalletSection: React.FC = () => (
To mint your reputation score, please connect your wallet.
</Typography>
<Stack className='flex w-full flex-row justify-end'>
<ConnectButton chainStatus='none' />
<ConnectButton />
</Stack>
</Stack>
</Stack>
Expand All @@ -168,11 +168,10 @@ const AttestationSection: React.FC<AttestationSectionProps> = ({
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 (
<Stack className='space-y-4'>
Expand Down

0 comments on commit e62dd59

Please sign in to comment.