From 17bff9904231a49d0d5623ceac97f91e0b641492 Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Tue, 24 Oct 2023 07:20:04 +0300 Subject: [PATCH] fix: documentation var name and client type --- .../ValidatorSetup/ValidatorInstalling/documentions.ts | 6 +++--- .../ValidatorSetup/ValidatorSetup/ExecClientCards.tsx | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorInstalling/documentions.ts b/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorInstalling/documentions.ts index 622f6cfd..fd1351ec 100644 --- a/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorInstalling/documentions.ts +++ b/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorInstalling/documentions.ts @@ -5,14 +5,14 @@ type DocumentationItem = | { type: 'link'; content: string } | { type: 'text'; content: string } -type ClientData = { +type ExecClientData = { icon: string documentation: Record } -type Documentation = Record +type Documentation = Record -export const DOCUMENTATION: Documentation = { +export const DOCUMENTATIONS: Documentation = { Nethermind: { icon: '/icons/nethermind-circle.png', documentation: { diff --git a/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorSetup/ExecClientCards.tsx b/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorSetup/ExecClientCards.tsx index b4080f8f..8c0e46c7 100644 --- a/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorSetup/ExecClientCards.tsx +++ b/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorSetup/ExecClientCards.tsx @@ -2,7 +2,7 @@ import { Stack, XStack, YStack } from 'tamagui' import { Text } from '@status-im/components' import ExecClientCard from './ExecClientCard' -import { DOCUMENTATION } from '../ValidatorInstalling/documentions' +import { DOCUMENTATIONS } from '../ValidatorInstalling/documentions' const ExecClientCards = () => { return ( @@ -11,7 +11,7 @@ const ExecClientCards = () => { Select Execution client - {Object.entries(DOCUMENTATION).map(([name, { icon }], index) => ( + {Object.entries(DOCUMENTATIONS).map(([name, { icon }], index) => ( ))}