Only warn about cache hits in comparison mode

This commit is contained in:
Asger F
2024-11-27 11:55:18 +01:00
parent afa3d558c6
commit c99bf5bb9f

View File

@@ -574,7 +574,7 @@ function ComparePerformanceWithData(props: {
return (
<>
<ViewTitle>Performance comparison</ViewTitle>
{hasCacheHitMismatch.current && (
{comparison && hasCacheHitMismatch.current && (
<WarningBox>
<strong>Inconsistent cache hits</strong>
<br />