Skip to content

Commit

Permalink
Merge pull request #120 from gluwa/bugfix/SS-438
Browse files Browse the repository at this point in the history
Fix subscan link error
  • Loading branch information
nbass3 committed Nov 30, 2023
2 parents 0e92496 + d9d4671 commit a429f00
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/modals/ValidatorMetrics/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,9 @@ export const ValidatorMetrics = () => {
className="body"
style={{ position: 'relative', marginTop: '0.5rem' }}
>
<SubscanButton validatorAddress={validatorInEra.address} />
{validatorInEra?.address && (
<SubscanButton validatorAddress={validatorInEra?.address} />
)}
<GraphWrapper
style={{
margin: '0 1.5rem 0 0.5rem',
Expand Down

0 comments on commit a429f00

Please sign in to comment.