From 26dea4d90ec6389b9a03c695b31f2cf57af06c7b Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Wed, 18 Oct 2023 09:21:16 +0300 Subject: [PATCH] fix: swap any type with root state type --- src/components/General/RightSideBar/ValidatorsCount.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/General/RightSideBar/ValidatorsCount.tsx b/src/components/General/RightSideBar/ValidatorsCount.tsx index bd84222f..6d051a70 100644 --- a/src/components/General/RightSideBar/ValidatorsCount.tsx +++ b/src/components/General/RightSideBar/ValidatorsCount.tsx @@ -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 (