fix: swap any type with root state type

This commit is contained in:
RadoslavDimchev 2023-10-18 09:21:16 +03:00
parent b9285f6f8a
commit 26dea4d90e
1 changed files with 3 additions and 1 deletions

View File

@ -2,8 +2,10 @@ import { Text } from '@status-im/components'
import { useSelector } from 'react-redux'
import { XStack } from 'tamagui'
import { RootState } from '../../../redux/store'
const ValidatorsCount = () => {
const countOfValidators = useSelector((state: any) => state.rightSidebar.countOfValidators)
const countOfValidators = useSelector((state: RootState) => state.rightSidebar.countOfValidators)
return (
<XStack justifyContent={'space-between'} width={'85%'}>