diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 919e147..d5a568f 100755 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -3,7 +3,7 @@ import {FormsModule} from '@angular/forms'; import {CommonModule} from '@angular/common'; import {HTTP_INTERCEPTORS, HttpClientModule} from "@angular/common/http"; import {BrowserModule, BrowserTransferStateModule} from '@angular/platform-browser'; -import {NoopAnimationsModule} from '@angular/platform-browser/animations'; +import {BrowserAnimationsModule} from '@angular/platform-browser/animations'; import {AppComponent} from './app.component'; import {OpenaireErrorPageComponent} from './error/errorPage.component'; @@ -24,11 +24,6 @@ import {ThemeComponent} from "./test/theme.component"; import {CustomizationModule} from "./utils/customization/customization.module"; import {HttpInterceptorService} from "./openaireLibrary/http-interceptor.service"; import {PageURLResolverComponent} from "./openaireLibrary/utils/pageURLResolver.component"; -import {InviteModule} from "./utils/subscribe/invite/invite.module"; -import {FreeGuard} from "./openaireLibrary/login/freeGuard.guard"; -import {PreviousRouteRecorder} from "./openaireLibrary/utils/piwik/previousRouteRecorder.guard"; -import {PiwikService} from "./openaireLibrary/utils/piwik/piwik.service"; -import {CommunityService} from "./openaireLibrary/connect/community/community.service"; import {InviteBasicModule} from "./utils/subscribe/invite/inviteBasic.module"; import {SubscribeService} from "./openaireLibrary/utils/subscribe/subscribe.service"; @@ -36,7 +31,6 @@ import {SubscribeService} from "./openaireLibrary/utils/subscribe/subscribe.serv imports: [ SharedModule, - NoopAnimationsModule, CommonModule, HttpClientModule, ErrorModule, @@ -48,7 +42,8 @@ import {SubscribeService} from "./openaireLibrary/utils/subscribe/subscribe.serv SubscribeModule.forRoot(), InviteBasicModule, BrowserModule.withServerTransition({appId: 'my-app'}), AppRoutingModule, - BrowserTransferStateModule + BrowserTransferStateModule, + BrowserAnimationsModule ], declarations: [ AppComponent, OpenaireErrorPageComponent, ThemeComponent, PageURLResolverComponent], exports: [ AppComponent ],