From 3481e5016349ce32bce10d1ff75bdc3ee171cd7b Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Sat, 26 Feb 2022 12:54:08 +0100 Subject: [PATCH] fix: put string inside Text --- src/Summary.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Summary.tsx b/src/Summary.tsx index d113986..6b7a1fb 100644 --- a/src/Summary.tsx +++ b/src/Summary.tsx @@ -255,7 +255,9 @@ const Time: React.FC<{ return ( {renderedTime} - {runTime < estimatedTime ? <>, estimated {estimatedTime}s : null} + {runTime < estimatedTime ? ( + , estimated {estimatedTime}s + ) : null} ); };