Skip to content
This repository has been archived by the owner on Jul 22, 2020. It is now read-only.

Commit

Permalink
fix: hide keybase button for configured validators
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-calavera authored and sunnygleason committed Aug 6, 2019
1 parent 4a72a09 commit cb658e8
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions src/v2/components/Validators/Detail/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,19 +176,21 @@ const ValidatorsDetail = ({match}: {match: Match}) => {
<span>{identity.name || nodePubkey}</span>
</div>
)}
<div className={classes.headerBtn}>
<Button
variant="contained"
size="large"
fullWidth
color="primary"
href="https://github.com/solana-labs/tour-de-sol#publishing-information-about-your-validator"
target="_blank"
rel="noopener noreferrer"
>
Connect To Keybase
</Button>
</div>
{!identity.keybaseUsername && (
<div className={classes.headerBtn}>
<Button
variant="contained"
size="large"
fullWidth
color="primary"
href="https://github.com/solana-labs/tour-de-sol#publishing-information-about-your-validator"
target="_blank"
rel="noopener noreferrer"
>
Connect To Keybase
</Button>
</div>
)}
</SectionHeader>
<div className={classes.body}>
<ul className={classes.spec}>
Expand Down

0 comments on commit cb658e8

Please sign in to comment.