Browse Source

use --:-- for loading timestamps instead of 00:00 (#37607)

"00:00" looks like a zero length replay, when really it's still loading. 
I like "--:--" for loading instead, it feels more like a placeholder instead of a zero-value.
Ryan Albrecht 2 years ago
parent
commit
046902aeb0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      static/app/components/replays/replayController.tsx

+ 1 - 1
static/app/components/replays/replayController.tsx

@@ -114,7 +114,7 @@ function ReplayCurrentTime() {
 
   return (
     <span>
-      {formatTime(currentTime)} / {durationMs ? formatTime(durationMs) : '??:??'}
+      {formatTime(currentTime)} / {durationMs ? formatTime(durationMs) : '--:--'}
     </span>
   );
 }