File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -407,15 +407,6 @@ export default class Year extends Component<YearProps> {
407407 return y === preSelected && ! isPreSelectedYearDisabled ? "0" : "-1" ;
408408 } ;
409409
410- getYearContainerClassNames = ( ) => {
411- const { selectingDate, selectsStart, selectsEnd, selectsRange } =
412- this . props ;
413- return clsx ( "react-datepicker__year" , {
414- "react-datepicker__year--selecting-range" :
415- selectingDate && ( selectsStart || selectsEnd || selectsRange ) ,
416- } ) ;
417- } ;
418-
419410 getYearContent = ( y : number ) => {
420411 return this . props . renderYearContent ? this . props . renderYearContent ( y ) : y ;
421412 } ;
@@ -475,7 +466,7 @@ export default class Year extends Component<YearProps> {
475466 }
476467
477468 return (
478- < div className = { this . getYearContainerClassNames ( ) } >
469+ < div className = "react-datepicker__year" >
479470 < div
480471 className = "react-datepicker__year-wrapper"
481472 onMouseLeave = {
You can’t perform that action at this time.
0 commit comments