Skip to content

Commit 299bdfc

Browse files
style(crons): Spelling in overviewTimeline/utils (#68110)
1 parent 913eb6f commit 299bdfc

File tree

1 file changed

+6
-6
lines changed
  • static/app/views/monitors/components/overviewTimeline

1 file changed

+6
-6
lines changed

static/app/views/monitors/components/overviewTimeline/utils.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const CLAMPED_MINUTE_RANGES = [
4141
];
4242

4343
/**
44-
* Compute the TimeWindowConfig given the timeline date bounadies and the width
44+
* Compute the TimeWindowConfig given the timeline date boundaries and the width
4545
* of the timeline.
4646
*/
4747
export function getConfigFromTimeRange(
@@ -54,20 +54,20 @@ export function getConfigFromTimeRange(
5454
// Display only the time (no date) when the window is less than 24 hours
5555
const timeOnly = elapsedMinutes <= ONE_HOUR * 24;
5656

57-
const minimuWidth = timeOnly ? TIMELABEL_WIDTH_TIME : TIMELABEL_WIDTH_DATE;
57+
const minimumWidth = timeOnly ? TIMELABEL_WIDTH_TIME : TIMELABEL_WIDTH_DATE;
5858

59-
// When one pixel represent less than at least one minute we also want to
59+
// When one pixel represents less than at least one minute we also want to
6060
// display second values on our labels.
6161
const displaySeconds = elapsedMinutes < timelineWidth;
6262

6363
// Compute the smallest minute value that we are willing to space our ticks
64-
// apart by. This will be at least minimuWidth.
64+
// apart by. This will be at least minimumWidth.
6565

6666
// Calculate the minutes per pixel of the timeline
6767
const minutesPerPixel = elapsedMinutes / timelineWidth;
6868

69-
// Calculate minutes at the minimuWidth
70-
const minTickMinutesApart = minutesPerPixel * minimuWidth;
69+
// Calculate minutes at the minimumWidth
70+
const minTickMinutesApart = minutesPerPixel * minimumWidth;
7171

7272
const baseConfig = {
7373
start,

0 commit comments

Comments
 (0)