Remove un-used `contact` attribute

master
Kevin C. Coram 2019-12-31 11:05:04 -08:00
parent a6d883f68e
commit a036ca0a93
Signed by: kevin
GPG Key ID: 0342351B3D61AD35
1 changed files with 0 additions and 2 deletions

View File

@ -9,7 +9,6 @@ import { Subscription } from 'rxjs';
styleUrls: ['./app.component.css'], styleUrls: ['./app.component.css'],
}) })
export class AppComponent implements OnInit, OnDestroy { export class AppComponent implements OnInit, OnDestroy {
contact: Contact;
form: FormGroup; form: FormGroup;
private subscription: Subscription; private subscription: Subscription;
@ -20,7 +19,6 @@ export class AppComponent implements OnInit, OnDestroy {
this.subscription = this.service this.subscription = this.service
.loadContact() .loadContact()
.subscribe((data: Contact) => { .subscribe((data: Contact) => {
this.contact = data;
this.form = this.createForm(data); this.form = this.createForm(data);
}); });
} }