From 17b2c34845a0fbd5886698817f4fe5ce0f1592d4 Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Thu, 19 Oct 2023 09:37:11 +0300 Subject: [PATCH] fix: initial loading of validators --- .../General/RightSideBar/ValidatorsTabs/ValidatorsList.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/General/RightSideBar/ValidatorsTabs/ValidatorsList.tsx b/src/components/General/RightSideBar/ValidatorsTabs/ValidatorsList.tsx index cd69fbcf..297f7216 100644 --- a/src/components/General/RightSideBar/ValidatorsTabs/ValidatorsList.tsx +++ b/src/components/General/RightSideBar/ValidatorsTabs/ValidatorsList.tsx @@ -45,7 +45,8 @@ const ValidatorsList = () => { const filteredCount = filtered.length dispatch(setCountOfValidators(filteredCount)) - }, [searchValue]) + }, [searchValue, validators]) + return (