Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Isolated feat: Add User Profile to Bounty Multiplayer Bidders #301

Merged
merged 1 commit into from
Sep 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions src/components/bounty/BountyMultiplayer.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { useDynamicContext } from '@dynamic-labs/sdk-react-core';
import ExpandMoreIcon from '@mui/icons-material/ExpandMore';
import Link from 'next/link';
import { useEffect, useState } from 'react';
import { Address } from 'viem';

import { weiToEth } from '@/lib';
import { useBountyContext } from '@/components/bounty';
import { JoinBounty, Withdraw } from '@/components/ui';

import { getDegenOrEnsName, getParticipants } from '@/app/context/web3';
import { weiToEth } from '@/lib';

import { OpenBounty } from '@/types/web3';

const BountyMultiplayer = ({
Expand Down Expand Up @@ -104,8 +104,10 @@ const BountyMultiplayer = ({

return (
<div className='py-2' key={index}>
{displayText} - {weiToEth(participants.amounts[index])}{' '}
{getCurrency()}
<Link href={`/${currentNetworkName}/account/${address}`}>
{displayText}
</Link>{' '}
- {weiToEth(participants.amounts[index])} {getCurrency()}
</div>
);
})
Expand Down
Loading