mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-03-02 12:00:43 +00:00
fix: swap any type with root state type
This commit is contained in:
parent
b9285f6f8a
commit
26dea4d90e
@ -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%'}>
|
||||
|
Loading…
x
Reference in New Issue
Block a user