Fixed total rows count when error

This commit is contained in:
Lucas Oliveira 2023-11-16 12:16:16 -03:00
commit 72f8d1987f

View file

@ -88,6 +88,7 @@ export default function StorePage(): JSX.Element {
})
.catch((err) => {
setSearchData([]);
setTotalRowsCount(0);
setLoading(false);
setErrorData({
title: "Error to get components.",