Skip to content

Commit 1572da5

Browse files
perf(module:date-picker): remove unused variable (#7767)
1 parent e82fda7 commit 1572da5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/date-picker/date-picker.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ import { slideMotion } from 'ng-zorro-antd/core/animation';
4848
import { NzConfigKey, NzConfigService, WithConfig } from 'ng-zorro-antd/core/config';
4949
import { NzFormNoStatusService, NzFormStatusService } from 'ng-zorro-antd/core/form';
5050
import { NzNoAnimationDirective } from 'ng-zorro-antd/core/no-animation';
51-
import { DEFAULT_DATE_PICKER_POSITIONS, DATE_PICKER_POSITION_MAP } from 'ng-zorro-antd/core/overlay';
51+
import { DATE_PICKER_POSITION_MAP, DEFAULT_DATE_PICKER_POSITIONS } from 'ng-zorro-antd/core/overlay';
5252
import { CandyDate, cloneDate, CompatibleValue, wrongSortOrder } from 'ng-zorro-antd/core/time';
5353
import {
5454
BooleanInput,
@@ -632,7 +632,7 @@ export class NzDatePickerComponent implements OnInit, OnChanges, OnDestroy, Afte
632632
// Default value
633633
this.datePickerService.isRange = this.isRange;
634634
this.datePickerService.initValue(true);
635-
this.datePickerService.emitValue$.pipe(takeUntil(this.destroyed$)).subscribe(_ => {
635+
this.datePickerService.emitValue$.pipe(takeUntil(this.destroyed$)).subscribe(() => {
636636
const value = this.datePickerService.value;
637637
this.datePickerService.initialValue = cloneDate(value);
638638
if (this.isRange) {

0 commit comments

Comments
 (0)