mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-07-21 09:45:50 +00:00
Fix Identicons (#106)
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@fnando/sparkline": "maciejhirsz/sparkline",
|
||||
"polkadot-identicon": "^1.1.0",
|
||||
"polkadot-identicon": "^1.1.36",
|
||||
"react": "16.4.0",
|
||||
"react-dom": "16.4.0",
|
||||
"react-scripts-ts": "2.17.0",
|
||||
|
||||
@@ -117,7 +117,7 @@ export class Row extends React.Component<Row.Props, Row.State> {
|
||||
width: 16,
|
||||
setting: 'validator',
|
||||
render: ({ validator }) => {
|
||||
return validator ? <Tooltip text={validator} copy={true}><span className="Row-validator"><Identicon id={validator} size={16} /></span></Tooltip> : '-';
|
||||
return validator ? <Tooltip text={validator} copy={true}><span className="Row-validator"><Identicon account={validator} size={16} /></span></Tooltip> : '-';
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@@ -92,7 +92,7 @@ export class Location extends React.Component<Location.Props, Location.State> {
|
||||
<td><Icon src={nodeValidatorIcon} alt="Node" /></td>
|
||||
<td colSpan={5}>
|
||||
{trimHash(validator, 30)}
|
||||
<span className="Location-validator"><Identicon id={validator} size={16} /></span>
|
||||
<span className="Location-validator"><Identicon account={validator} size={16} /></span>
|
||||
</td>
|
||||
</tr>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user