remove 'or last'

This commit is contained in:
Robert Elliott 2018-10-23 15:28:48 +02:00
parent cf3d3eb0f0
commit 133e0a7646
1 changed files with 1 additions and 1 deletions

View File

@ -264,7 +264,7 @@ const getXTicksFromIncrementFactor = ( uniqueDates, incrementFactor ) => {
ticks.push( uniqueDates[ idx ] );
}
// If the first or last date is missing from the ticks array, add it back in.
// If the first date is missing from the ticks array, add it back in.
if ( ticks[ 0 ] !== uniqueDates[ 0 ] ) {
ticks.unshift( uniqueDates[ 0 ] );
}