mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-03 15:13:38 +00:00
clear client setup
This commit is contained in:
parent
9c58fdf7dd
commit
3b2caa55cf
@ -6,10 +6,10 @@ import WithdrawalAddress from './WithdrawalAddress'
|
|||||||
import LinkWithArrow from '../../../components/General/LinkWithArrow'
|
import LinkWithArrow from '../../../components/General/LinkWithArrow'
|
||||||
import ValidatorsMenuWithPrice from '../../../components/General/ValidatorsMenuWithPrice'
|
import ValidatorsMenuWithPrice from '../../../components/General/ValidatorsMenuWithPrice'
|
||||||
import { CLIENT_SETUP_SUBTITLE } from '../../../constants'
|
import { CLIENT_SETUP_SUBTITLE } from '../../../constants'
|
||||||
type ClientSetupProps = {
|
|
||||||
setIsValidatorSet: (value: boolean) => void
|
const ClientSetup = () => {
|
||||||
}
|
|
||||||
const ClientSetup = ({ setIsValidatorSet }: ClientSetupProps) => {
|
const [isValidatorSet, setIsValidatorSet] = useState(false)
|
||||||
const [validatorCount, setValidatorCount] = useState(0)
|
const [validatorCount, setValidatorCount] = useState(0)
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
setIsValidatorSet(validatorCount > 0)
|
setIsValidatorSet(validatorCount > 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user