mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-09 18:13:39 +00:00
fix: getting exec client icon
This commit is contained in:
parent
1affa9a86f
commit
b47626ac9b
@ -2,14 +2,7 @@ import { Stack, XStack, YStack } from 'tamagui'
|
||||
import { Text } from '@status-im/components'
|
||||
|
||||
import ExecClientCard from './ExecClientCard'
|
||||
|
||||
export const EXEC_CLIENTS_ICONS: Record<string, string> = {
|
||||
Nethermind: '/icons/nethermind-circle.png',
|
||||
Besu: '/icons/hyperledger-besu-circle.png',
|
||||
Geth: '/icons/gethereum-mascot-circle.png',
|
||||
Erigon: '/icons/erigon-circle.png',
|
||||
Nimbus: '/icons/NimbusDisabled.svg',
|
||||
}
|
||||
import { DOCUMENTATION } from '../ValidatorInstalling/documentions'
|
||||
|
||||
const ExecClientCards = () => {
|
||||
return (
|
||||
@ -18,7 +11,7 @@ const ExecClientCards = () => {
|
||||
<Text size={27}>Select Execution client</Text>
|
||||
</Stack>
|
||||
<XStack justifyContent={'space-between'}>
|
||||
{Object.entries(EXEC_CLIENTS_ICONS).map(([name, icon], index) => (
|
||||
{Object.entries(DOCUMENTATION).map(([name, { icon }], index) => (
|
||||
<ExecClientCard key={index} name={name} icon={icon} />
|
||||
))}
|
||||
</XStack>
|
||||
|
Loading…
x
Reference in New Issue
Block a user