From 6770254c87012f31369d7d335ef426ec27fe04c9 Mon Sep 17 00:00:00 2001 From: Hajime Yamaguchi Date: Sat, 8 Jul 2023 02:11:48 +0900 Subject: [PATCH] Remove unsupported options --- frontend/src/app/app-routing.module.ts | 3 +-- frontend/src/app/app.module.ts | 1 - frontend/src/app/block/block.module.ts | 3 +-- frontend/src/app/color/color.module.ts | 3 +-- frontend/src/app/transaction/transaction.module.ts | 3 +-- 5 files changed, 4 insertions(+), 9 deletions(-) diff --git a/frontend/src/app/app-routing.module.ts b/frontend/src/app/app-routing.module.ts index 134dd539..8ac8aa1a 100644 --- a/frontend/src/app/app-routing.module.ts +++ b/frontend/src/app/app-routing.module.ts @@ -60,8 +60,7 @@ const routes: Routes = [ @NgModule({ imports: [ RouterModule.forRoot(routes, { - preloadingStrategy: PreloadAllModules, - relativeLinkResolution: 'legacy' + preloadingStrategy: PreloadAllModules }) ], exports: [RouterModule] diff --git a/frontend/src/app/app.module.ts b/frontend/src/app/app.module.ts index e4a96a98..0544f2c1 100644 --- a/frontend/src/app/app.module.ts +++ b/frontend/src/app/app.module.ts @@ -16,7 +16,6 @@ import { ConfigService } from './config.service'; @NgModule({ declarations: [AppComponent, FooterComponent], - entryComponents: [], imports: [ BrowserModule, IonicModule.forRoot(), diff --git a/frontend/src/app/block/block.module.ts b/frontend/src/app/block/block.module.ts index 9d8a28e1..4c2cebf7 100644 --- a/frontend/src/app/block/block.module.ts +++ b/frontend/src/app/block/block.module.ts @@ -21,7 +21,6 @@ import { BlockRawdataPageModule } from '../block-rawdata/block-rawdata.module'; SharedPipeModule, BlockRawdataPageModule ], - declarations: [BlockPage], - entryComponents: [BlockRawdataPage] + declarations: [BlockPage] }) export class BlockPageModule {} diff --git a/frontend/src/app/color/color.module.ts b/frontend/src/app/color/color.module.ts index f127ddbe..91de6ff8 100644 --- a/frontend/src/app/color/color.module.ts +++ b/frontend/src/app/color/color.module.ts @@ -18,7 +18,6 @@ import { NgxPaginationModule } from 'ngx-pagination'; NgxPaginationModule, SharedPipeModule ], - declarations: [ColorPage], - entryComponents: [] + declarations: [ColorPage] }) export class ColorPageModule {} diff --git a/frontend/src/app/transaction/transaction.module.ts b/frontend/src/app/transaction/transaction.module.ts index c1afdde0..b4115f08 100644 --- a/frontend/src/app/transaction/transaction.module.ts +++ b/frontend/src/app/transaction/transaction.module.ts @@ -19,7 +19,6 @@ import { TransactionRawdataPageModule } from '../transaction-rawdata/transaction TransactionPageRoutingModule, TransactionRawdataPageModule ], - declarations: [TransactionPage], - entryComponents: [TransactionRawdataPage] + declarations: [TransactionPage] }) export class TransactionPageModule {}