diff --git a/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorInstalling/OSCards.tsx b/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorInstalling/OSCards.tsx index 4275f1e9..888af880 100644 --- a/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorInstalling/OSCards.tsx +++ b/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorInstalling/OSCards.tsx @@ -19,11 +19,11 @@ const cards = [ ] type OSCardsProps = { - selectedOs: string + selectedOS: string handleOsCardClick: (os: string) => void } -const OSCards = ({ selectedOs, handleOsCardClick }: OSCardsProps) => { +const OSCards = ({ selectedOS, handleOsCardClick }: OSCardsProps) => { return ( {cards.map(card => ( @@ -31,7 +31,7 @@ const OSCards = ({ selectedOs, handleOsCardClick }: OSCardsProps) => { key={card.name} icon={card.icon} name={card.name} - isSelected={selectedOs === card.name} + isSelected={selectedOS === card.name} onClick={() => handleOsCardClick(card.name)} /> ))} diff --git a/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorInstalling/ValidatorInstall.tsx b/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorInstalling/ValidatorInstall.tsx index 4c27e446..58ff994c 100644 --- a/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorInstalling/ValidatorInstall.tsx +++ b/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorInstalling/ValidatorInstall.tsx @@ -10,11 +10,11 @@ import { DOCUMENTATIONS } from './documentations' import { MAC } from '../../../../constants' const ValidatorSetupInstall = () => { - const [selectedOs, setSelectedOs] = useState(MAC) + const [selectedOS, setSelectedOS] = useState(MAC) const selectedClient = useSelector((state: RootState) => state.execClient.selectedClient) const handleOsCardClick = (os: string) => { - setSelectedOs(os) + setSelectedOS(os) } return ( @@ -36,7 +36,7 @@ const ValidatorSetupInstall = () => { {DOCUMENTATIONS[selectedClient].general} - + Package Managers