diff options
Diffstat (limited to 'client/src/app/account/account.component.ts')
-rw-r--r-- | client/src/app/account/account.component.ts | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/client/src/app/account/account.component.ts b/client/src/app/account/account.component.ts index 54939f43b..a22738d3f 100644 --- a/client/src/app/account/account.component.ts +++ b/client/src/app/account/account.component.ts | |||
@@ -1,15 +1,13 @@ | |||
1 | import { Validators } from '@angular/common'; | 1 | import { } from '@angular/common'; |
2 | import { Component, OnInit } from '@angular/core'; | 2 | import { Component, OnInit } from '@angular/core'; |
3 | import { FormControl, FormGroup, REACTIVE_FORM_DIRECTIVES } from '@angular/forms'; | 3 | import { FormControl, FormGroup, Validators } from '@angular/forms'; |
4 | import { Router } from '@angular/router'; | 4 | import { Router } from '@angular/router'; |
5 | 5 | ||
6 | import { AccountService } from './account.service'; | 6 | import { AccountService } from './account.service'; |
7 | 7 | ||
8 | @Component({ | 8 | @Component({ |
9 | selector: 'my-account', | 9 | selector: 'my-account', |
10 | template: require('./account.component.html'), | 10 | template: require('./account.component.html') |
11 | providers: [ AccountService ], | ||
12 | directives: [ REACTIVE_FORM_DIRECTIVES ] | ||
13 | }) | 11 | }) |
14 | 12 | ||
15 | export class AccountComponent implements OnInit { | 13 | export class AccountComponent implements OnInit { |