fix: remove second page turner on low results

This commit is contained in:
TrèsAbhi committed 2024-05-04 17:28:12 -05:00
1 parent aaf013c650
commit 3f8c2ba322
1 file changed
+3 -1
@@ -1016,7 +1016,9 @@ export function TankSearch({
)}
</Flex>
<PageTurner tanksPerPage={tanksPerPage} searchedList={searchResults} />
{searchResultsPageSlice.length > tanksPerPage / 4 && (
<PageTurner tanksPerPage={tanksPerPage} searchedList={searchResults} />
)}
</>
);
}