Skip to content

Commit

Permalink
fix: undefined time
Browse files Browse the repository at this point in the history
Signed-off-by: Dup4 <lyuzhi.pan@gmail.com>
  • Loading branch information
Dup4 committed Oct 31, 2023
1 parent 96aa773 commit 0c512e2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ function getProblemLabelColorStyle(s: Submission) {
class="whitespace-nowrap px-4 py-2 text-gray-900 dark:text-white"
>
<div flex items-center>
{{ `${s.time} ms` }}
{{ `${s.time ?? 0} ms` }}
</div>
</td>
Expand Down

0 comments on commit 0c512e2

Please sign in to comment.