Skip to content

Commit a74d516

Browse files
committed
fix: faulty LayoutModule import causes: Unexpected value 'undefined' imported by the module
too short: `import { LayoutModule } from '../shared/layout';` should be: `import { LayoutModule } from '../shared/layout/layout.module';`
1 parent 0951140 commit a74d516

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

projects/coreui/angular/src/lib/header/app-header.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { CommonModule} from '@angular/common';
22
import { NgModule } from '@angular/core';
3-
import { LayoutModule } from '../shared/layout';
43

4+
import { LayoutModule } from '../shared/layout/layout.module';
55
import { AppHeaderComponent } from './app-header.component';
66

77
@NgModule({

projects/coreui/angular/src/lib/sidebar/app-sidebar.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { CommonModule } from '@angular/common';
22
import { NgModule} from '@angular/core';
33
import { RouterModule } from '@angular/router';
4-
import { LayoutModule } from '../shared/layout';
54

5+
import { LayoutModule } from '../shared/layout/layout.module';
66
// App Sidebar Component
77
import { AppSidebarFooterComponent } from './app-sidebar-footer.component';
88
import { AppSidebarFormComponent } from './app-sidebar-form.component';

0 commit comments

Comments
 (0)