From 77ec147fe8bb858aef38f7498ac051ebf613d6bf Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Sun, 19 Jun 2022 20:18:58 -0400 Subject: [PATCH] fix: table warning message --- .../components/resultsTable.js | 60 +++++++++---------- 1 file changed, 29 insertions(+), 31 deletions(-) diff --git a/packages/webpage-refactor/components/resultsTable.js b/packages/webpage-refactor/components/resultsTable.js index cd82ff7..6948eb6 100644 --- a/packages/webpage-refactor/components/resultsTable.js +++ b/packages/webpage-refactor/components/resultsTable.js @@ -117,42 +117,40 @@ export function ResultsTable({ isListOrdered, listAfterMergeSort, links }) { } }, [isListOrdered, listAfterMergeSort, links]); - return ( + return !(isListOrdered && isTableComputed) ? ( + "" + ) : (
- {!(isListOrdered && isTableComputed) ? ( - "" - ) : ( -
- -
- - - - +
+ +
+
- Position -
+ + + - + - + - - - - - {reactTableContents(tableContents)} -
+ Position + - Element - + Element + - Possible relative values - + Possible relative values + - Aggregated Means* - - Coefficient of variation -
-
+ + Aggregated Means* + + + Coefficient of variation + + + + {reactTableContents(tableContents)} +
- )} +

*This is the geometric mean if all elements are either all positive or