Skip to content

Commit

Permalink
FIX: remove Ant Design imports from Angular module.
Browse files Browse the repository at this point in the history
  • Loading branch information
mslavnenko committed Dec 16, 2019
1 parent bd87778 commit 9663734
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/app/doubtfire-angular.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import { MatExpansionModule } from '@angular/material/expansion';
import { MatSelectModule } from '@angular/material/select';
import { MatToolbarModule } from '@angular/material/toolbar';
import { MatGridListModule } from '@angular/material/grid-list';
import { MatTooltipModule } from '@angular/material/tooltip';

import { UIRouterUpgradeModule } from '@uirouter/angular-hybrid';

Expand Down Expand Up @@ -52,18 +53,12 @@ import { TaskAssessorComponent } from './tasks/task-definition-editor/task-asses
import { TaskAssessmentCommentComponent } from './tasks/task-comments-viewer/task-assessment-comment/task-assessment-comment.component';
import { TaskAssessmentModalComponent } from './common/modals/task-assessment-modal/task-assessment-modal.component';

import { NzButtonModule } from 'ng-zorro-antd/button';
import { NzModalModule } from 'ng-zorro-antd/modal';
import { NzTabsModule } from 'ng-zorro-antd/tabs';
import { TaskSubmissionHistoryComponent } from './tasks/task-submission-history/task-submission-history.component';
import { TaskSubmissionTabContentComponent } from './tasks/task-submission-history/task-submission-tab-content.component';


import en from '@angular/common/locales/en';

/** config ng-zorro-antd i18n **/
import { NZ_I18N, en_GB } from 'ng-zorro-antd/i18n';

@NgModule({
// components
declarations: [
Expand Down Expand Up @@ -108,14 +103,12 @@ import { NZ_I18N, en_GB } from 'ng-zorro-antd/i18n';
MatExpansionModule,
MatSelectModule,
MatToolbarModule,
MatTooltipModule,
MatGridListModule,
UpgradeModule,
ReactiveFormsModule,
PopoverModule.forRoot(),
UIRouterUpgradeModule.forRoot(),
NzButtonModule,
NzModalModule,
NzTabsModule,
],
// Services
providers: [
Expand All @@ -135,7 +128,6 @@ import { NZ_I18N, en_GB } from 'ng-zorro-antd/i18n';
AboutDoubtfireModal,
AboutDoubtfireModalService,
DoubtfireConstants,
{ provide: NZ_I18N, useValue: en_GB }
],
entryComponents: [
AboutDoubtfireModalContent,
Expand Down

0 comments on commit 9663734

Please sign in to comment.