Skip to content

Commit

Permalink
perf(module:form): remove a unused variable (#7766)
Browse files Browse the repository at this point in the history
  • Loading branch information
HyperLife1119 committed Dec 19, 2022
1 parent 29cdf02 commit 162d290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/form/form-control.component.ts
Expand Up @@ -128,7 +128,7 @@ export class NzFormControlComponent implements OnChanges, OnDestroy, OnInit, Aft
if (this.validateControl && this.validateControl.statusChanges) {
this.validateChanges = (this.validateControl.statusChanges as Observable<NzSafeAny>)
.pipe(startWith(null), takeUntil(this.destroyed$))
.subscribe(_ => {
.subscribe(() => {
if (!this.disableAutoTips) {
this.updateAutoErrorTip();
}
Expand Down

0 comments on commit 162d290

Please sign in to comment.