()
| 188 | } |
| 189 | |
| 190 | const renderElapsedTime = () => { |
| 191 | if (!shouldShowTimer || elapsedSeconds === 0) { |
| 192 | return null |
| 193 | } |
| 194 | |
| 195 | return <span fg={theme.secondary}>{formatElapsedTime(elapsedSeconds)}</span> |
| 196 | } |
| 197 | |
| 198 | const statusIndicatorContent = renderStatusIndicator() |
| 199 | const elapsedTimeContent = renderElapsedTime() |
no test coverage detected