fix: table warning message

This commit is contained in:
NunoSempere 2022-06-19 20:18:58 -04:00
parent 661120709a
commit 77ec147fe8

View File

@ -117,11 +117,10 @@ export function ResultsTable({ isListOrdered, listAfterMergeSort, links }) {
}
}, [isListOrdered, listAfterMergeSort, links]);
return (
<div>
{!(isListOrdered && isTableComputed) ? (
return !(isListOrdered && isTableComputed) ? (
""
) : (
<div>
<div>
<Separator />
<div className="relative overflow-x-auto shadow-md sm:rounded-lg mt-10">
@ -152,7 +151,6 @@ export function ResultsTable({ isListOrdered, listAfterMergeSort, links }) {
</table>
</div>
</div>
)}
<div className="grid w-full place-items-center text-center ">
<p className="mt-8 max-w-5xl">
*This is the geometric mean if all elements are either all positive or