From ff6a7096dee93f96ef6e6a16aad0eb58465d889a Mon Sep 17 00:00:00 2001 From: Carter Date: Thu, 22 May 2025 12:40:56 -0600 Subject: [PATCH] minor styling --- src/cableEstimator/cableEstimator.tsx | 2 +- src/common/ResponsiveTable.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cableEstimator/cableEstimator.tsx b/src/cableEstimator/cableEstimator.tsx index ac9991f..960e06a 100644 --- a/src/cableEstimator/cableEstimator.tsx +++ b/src/cableEstimator/cableEstimator.tsx @@ -167,7 +167,7 @@ export default function CableEstimator() { //having the search filter in here is quite inefficient as it will filter each time you change pages as well //TODO: re-work the filter so it only filters when the search is changed - // + // sort the array according to orderBy clone.sort((a, b) => { if (Object.keys(a).includes(orderBy)) { let by = orderBy as keyof jsonBin diff --git a/src/common/ResponsiveTable.tsx b/src/common/ResponsiveTable.tsx index 8cdfe3c..3f637d3 100644 --- a/src/common/ResponsiveTable.tsx +++ b/src/common/ResponsiveTable.tsx @@ -460,7 +460,7 @@ export default function ResponsiveTable(props: Props) { onClick={() => !column.disableSort && columnClick(column)} sx={{ cursor: column.disableSort ? "default" : "pointer" }} > - + {column.title} {showOrderIcon(column)}