Skip to content

Commit

Permalink
better timeline
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra committed Nov 18, 2023
1 parent ba7f8df commit 695a20c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ function percentagesWithinEventRange({

const TimeLineView = ({ performanceEvent }: { performanceEvent: PerformanceEvent }): JSX.Element | null => {
const rangeStart = performanceEvent.start_time
const rangeEnd = performanceEvent.response_end
const rangeEnd = performanceEvent.load_event_end ? performanceEvent.load_event_end : performanceEvent.response_end
if (typeof rangeStart === 'number' && typeof rangeEnd === 'number') {
const timings = calculatePerformanceParts(performanceEvent)
return (
Expand Down

0 comments on commit 695a20c

Please sign in to comment.