From 0ca2ccabe80b4c548bf846a2f1463022baf3d96d Mon Sep 17 00:00:00 2001 From: Maikoeliud Date: Fri, 3 Feb 2023 19:02:14 +0300 Subject: [PATCH] rename --- src/components/AssetTab.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/AssetTab.tsx b/src/components/AssetTab.tsx index 992fdfb..9d5036f 100644 --- a/src/components/AssetTab.tsx +++ b/src/components/AssetTab.tsx @@ -327,8 +327,8 @@ const AssetTab = () => { return
Loading...
} const { assets } = selectedDataSet - const rowsNumber = rowsPerPage * (page + 1) - const rowsNumberPerPage = rowsNumber <= assets.length ? rowsNumber : assets.length + const numberOfRows = rowsPerPage * (page + 1) + const numberOfRowsPerPage = numberOfRows <= assets.length ? numberOfRows : assets.length return ( <> @@ -406,7 +406,7 @@ const AssetTab = () => { - Showing {rowsPerPage * page + 1} - {rowsNumberPerPage} out of {assets.length} individual assets + Showing {rowsPerPage * page + 1} - {numberOfRowsPerPage} out of {assets.length} individual assets