diff --git a/app/caprieval/CaprievalReport.client.tsx b/app/caprieval/CaprievalReport.client.tsx index 6a086d0e..131ca66a 100644 --- a/app/caprieval/CaprievalReport.client.tsx +++ b/app/caprieval/CaprievalReport.client.tsx @@ -16,15 +16,22 @@ import type { CaprievalData } from "./caprieval.server"; export const CaprievalReport = ({ scatters, boxes, table }: CaprievalData) => { const [searchParams, setSearchParams] = useSearchParams(); - const hasOtherCluster = "clusters" in table && table.clusters.some((c) => c['cluster_id'] === "Other"); + const hasOtherCluster = + "clusters" in table && + table.clusters.some((c) => c["cluster_id"] === "Other"); return (
{"clusters" in table ? ( ) : ( <> - - {hasOtherCluster &&
The "Other" cluster is not a real cluster it contains all structures that are not in the top 9 clusters.
} + + {hasOtherCluster && ( +
+ The "Other" cluster is not a real cluster it contains + all structures that are not in the top 9 clusters. +
+ )} )}