diff --git a/apps/ngx-bootstrap-docs/src/app/app.module.ts b/apps/ngx-bootstrap-docs/src/app/app.module.ts index fcc97e640f..09cf7ab7b9 100644 --- a/apps/ngx-bootstrap-docs/src/app/app.module.ts +++ b/apps/ngx-bootstrap-docs/src/app/app.module.ts @@ -1,7 +1,6 @@ import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http'; import { NgModule } from '@angular/core'; import { RouterModule } from '@angular/router'; -import { BsDropdownModule } from 'ngx-bootstrap/dropdown'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { environment } from '../environments/environment'; @@ -15,8 +14,8 @@ import { routes } from './app.routing'; ], bootstrap: [AppComponent], imports: [BrowserAnimationsModule, DocsModule, - RouterModule.forRoot(routes, { useHash: environment.useHash }), - BsDropdownModule], providers: [ + RouterModule.forRoot(routes, { useHash: environment.useHash }) + ], providers: [ { provide: NgApiDoc, useValue: ngdoc }, { provide: DOCS_TOKENS, useValue: routes }, { provide: SIDEBAR_ROUTES, useValue: SidebarRoutesStructure }, diff --git a/src/dropdown/bs-dropdown-container.component.ts b/src/dropdown/bs-dropdown-container.component.ts index ea8e5749a8..981cd0e6ff 100644 --- a/src/dropdown/bs-dropdown-container.component.ts +++ b/src/dropdown/bs-dropdown-container.component.ts @@ -32,7 +32,6 @@ import { NgClass } from '@angular/common'; [class.open]="isOpen"> `, - providers: [BsDropdownState] }) export class BsDropdownContainerComponent implements OnDestroy { isOpen = false;