specName icons for Kusama & Polkadot (#5498)

* specName icons for Kusama & Polkadot

* Remove unneeded overrides
This commit is contained in:
Jaco 2021-06-08 14:14:16 +03:00 committed by GitHub
parent 361b742f05
commit 381814f8c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,21 +6,16 @@
export const identityNodes: Record<string, string> = [
['centrifuge chain', 'polkadot'],
['edgeware-node', 'substrate'],
['joystream-node', 'beachball'],
['node-template', 'substrate'],
['parity-polkadot', 'polkadot'],
['phala-substrate-node', 'substrate'],
['polkadot-js', 'polkadot'],
['subsocial-node', 'substrate'],
['substrate-node', 'substrate'],
['polymesh-node', 'substrate']
['parity-polkadot', 'polkadot']
].reduce((icons, [node, icon]): Record<string, string> => ({
...icons,
[node.toLowerCase().replace(/-/g, ' ')]: icon
}), {});
export const identitySpec: Record<string, string> = [
['kusama', 'polkadot'],
['polkadot', 'polkadot'],
['rococo', 'polkadot'],
['statemine', 'polkadot'],
['statemint', 'polkadot'],