Correction build Walter
This commit is contained in:
parent
10e37d437d
commit
69a88c3bc8
@ -1,5 +1,5 @@
|
|||||||
import { Component, OnInit } from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
import { SEOService } from '@app/core/services';
|
import { AuthService, SEOService } from '@app/core/services';
|
||||||
|
|
||||||
@Component( {
|
@Component( {
|
||||||
selector: 'app-root',
|
selector: 'app-root',
|
||||||
@ -10,7 +10,7 @@ export class AppComponent implements OnInit {
|
|||||||
|
|
||||||
title = 'DiscoTrip';
|
title = 'DiscoTrip';
|
||||||
|
|
||||||
constructor( public seoService: SEOService ) {
|
constructor( private seoService: SEOService, public authService: AuthService ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { Component, OnInit } from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
import { AuthService } from '@app/core/services/auth/auth.service';
|
import { AuthService } from '@app/core/services/auth/auth.service';
|
||||||
|
|
||||||
@Component( {
|
@Component( {
|
||||||
selector: 'app-register',
|
selector: 'app-register',
|
||||||
@ -8,7 +8,7 @@ import { AuthService } from '@app/core/services/auth/auth.service';
|
|||||||
} )
|
} )
|
||||||
export class RegisterComponent implements OnInit {
|
export class RegisterComponent implements OnInit {
|
||||||
|
|
||||||
constructor(private authService: AuthService) {
|
constructor( public authService: AuthService ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
|
Loading…
Reference in New Issue
Block a user