Skip to content

Commit afddfa2

Browse files
committed
Code Refactoring
1 parent 8a54c4f commit afddfa2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/app/app.module.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { ToastrModule } from 'ngx-toastr';
22
import { HttpClientModule, HttpClient } from '@angular/common/http';
3-
43
import { BrowserModule } from '@angular/platform-browser';
54
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
65
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';

src/app/private/private.module.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import { ReactiveFormsModule } from '@angular/forms';
2121
CommonModule,
2222
AppRoutingModule,
2323
ReactiveFormsModule,
24-
DataTableModule,
2524
TableModule,
2625
HttpModule,
2726
EmbedVideo.forRoot(),
@@ -36,6 +35,9 @@ import { ReactiveFormsModule } from '@angular/forms';
3635
AboutComponent,
3736
GalleryComponent,
3837
DemoChartsComponent
38+
],
39+
schemas: [
40+
CUSTOM_ELEMENTS_SCHEMA
3941
]
4042
})
4143
export class PrivateModule { }

0 commit comments

Comments
 (0)