Skip to content

Commit 89fa758

Browse files
committed
fix: smalldisplay fix on the jurorlinks
1 parent d374caf commit 89fa758

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

web/src/components/JurorLink.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ interface IJurorLink {
5555
smallDisplay?: boolean;
5656
}
5757

58-
const JurorLink: React.FC<IJurorLink> = ({ address, isInternalLink = true }) => {
58+
const JurorLink: React.FC<IJurorLink> = ({ address, isInternalLink = true, smallDisplay }) => {
5959
const { isConnected, address: connectedAddress } = useAccount();
6060
const profileLink =
6161
isConnected && connectedAddress?.toLowerCase() === address.toLowerCase()
@@ -69,11 +69,12 @@ const JurorLink: React.FC<IJurorLink> = ({ address, isInternalLink = true }) =>
6969
<Container>
7070
<IdenticonOrAvatar address={address} />
7171
<ReStyledArrowLink
72+
{...{ smallDisplay }}
7273
to={isInternalLink ? profileLink : addressExplorerLink}
7374
rel={`${isInternalLink ? "" : "noopener noreferrer"}`}
7475
target={`${isInternalLink ? "" : "_blank"}`}
7576
>
76-
<AddressOrName address={address} />
77+
<AddressOrName {...{ address, smallDisplay }} />
7778
{isInternalLink ? <ArrowIcon /> : <NewTabIcon />}
7879
</ReStyledArrowLink>
7980
</Container>

0 commit comments

Comments
 (0)