Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
jisoolee committed Aug 29, 2023
1 parent 9c83c14 commit ea4df10
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ class DetailsHeader extends Component {
stepStatus.terminated || {});
}

const wrongDateChecker = new Date(startTime).getTime()

if (!startTime || !endTime || wrongDateChecker == 0) {
if (!startTime || !endTime || new Date(startTime).getTime() == 0) {
return null;
}

Expand Down

0 comments on commit ea4df10

Please sign in to comment.