From 72f8d1987fc54d0fde0eff1e6c018d46b2561b70 Mon Sep 17 00:00:00 2001 From: Lucas Oliveira Date: Thu, 16 Nov 2023 12:16:16 -0300 Subject: [PATCH] Fixed total rows count when error --- src/frontend/src/pages/StorePage/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/frontend/src/pages/StorePage/index.tsx b/src/frontend/src/pages/StorePage/index.tsx index fa01ac258..61453710c 100644 --- a/src/frontend/src/pages/StorePage/index.tsx +++ b/src/frontend/src/pages/StorePage/index.tsx @@ -88,6 +88,7 @@ export default function StorePage(): JSX.Element { }) .catch((err) => { setSearchData([]); + setTotalRowsCount(0); setLoading(false); setErrorData({ title: "Error to get components.",