Skip to content

Commit bfb1ea2

Browse files
author
borysn
committed
update ng2-bootstrap
1 parent f03a979 commit bfb1ea2

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

frontend/src/app/app.module.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ import { LocationStrategy, HashLocationStrategy, APP_BASE_HREF } from '@angular/
33
import { BrowserModule } from '@angular/platform-browser';
44
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
55
import { HttpModule } from '@angular/http';
6-
import { AlertModule, DatepickerModule } from 'ng2-bootstrap/ng2-bootstrap';
7-
6+
import { AlertModule, DatepickerModule } from 'ng2-bootstrap';
87
import { routing, appRouterProviders } from './app.routing';
98
import { AppComponent } from './app.component';
109
import { HelloComponent } from './hello/hello.component';
@@ -20,8 +19,8 @@ import { HomeComponent } from './home/home.component';
2019
FormsModule,
2120
ReactiveFormsModule,
2221
HttpModule,
23-
AlertModule,
24-
DatepickerModule,
22+
AlertModule.forRoot(),
23+
DatepickerModule.forRoot(),
2524
routing],
2625
schemas: [CUSTOM_ELEMENTS_SCHEMA],
2726
providers: [

0 commit comments

Comments
 (0)