Apply review comment

This commit is contained in:
Contramundum
2023-09-07 17:42:08 +09:00
parent 1c01ef0127
commit 4e8c6051e4
@@ -42,6 +42,8 @@ const PreferentialTrial: FC<{
)
}
const isBestTrial = trial.state === "Complete"
return (
<Card
sx={{
@@ -159,7 +161,7 @@ const PreferentialTrial: FC<{
>
<TrialListDetail
trial={trial}
isBestTrial={() => true}
isBestTrial={() => isBestTrial}
directions={[]}
objectiveNames={[]}
/>