fix: documentation var name and client type
This commit is contained in:
parent
0fde0eabd8
commit
17bff99042
|
@ -5,14 +5,14 @@ type DocumentationItem =
|
|||
| { type: 'link'; content: string }
|
||||
| { type: 'text'; content: string }
|
||||
|
||||
type ClientData = {
|
||||
type ExecClientData = {
|
||||
icon: string
|
||||
documentation: Record<string, DocumentationItem[]>
|
||||
}
|
||||
|
||||
type Documentation = Record<string, ClientData>
|
||||
type Documentation = Record<string, ExecClientData>
|
||||
|
||||
export const DOCUMENTATION: Documentation = {
|
||||
export const DOCUMENTATIONS: Documentation = {
|
||||
Nethermind: {
|
||||
icon: '/icons/nethermind-circle.png',
|
||||
documentation: {
|
||||
|
|
|
@ -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 = () => {
|
|||
<Text size={27}>Select Execution client</Text>
|
||||
</Stack>
|
||||
<XStack justifyContent={'space-between'}>
|
||||
{Object.entries(DOCUMENTATION).map(([name, { icon }], index) => (
|
||||
{Object.entries(DOCUMENTATIONS).map(([name, { icon }], index) => (
|
||||
<ExecClientCard key={index} name={name} icon={icon} />
|
||||
))}
|
||||
</XStack>
|
||||
|
|
Loading…
Reference in New Issue