If you have any questions about this Policy, would like to speak with us about the use of our Marks in ways not described in the Policy, or see any abuse of our Marks, please email us at <legal@mempool.space>
+If you have any questions about this Policy, would like to speak with us about the use of our Marks in ways not described in the Policy, or see any abuse of our Marks, please email us at <legal@mempool.space>
diff --git a/frontend/src/app/services/http-cache.interceptor.ts b/frontend/src/app/services/http-cache.interceptor.ts index c0f1646ad..da683325e 100644 --- a/frontend/src/app/services/http-cache.interceptor.ts +++ b/frontend/src/app/services/http-cache.interceptor.ts @@ -1,8 +1,8 @@ -import { Inject, Injectable, PLATFORM_ID } from '@angular/core'; +import { Inject, Injectable, PLATFORM_ID, makeStateKey, TransferState } from '@angular/core'; import { HttpInterceptor, HttpEvent, HttpRequest, HttpHandler, HttpResponse, HttpErrorResponse, HttpHeaders } from '@angular/common/http'; import { Observable, of } from 'rxjs'; import { catchError, tap } from 'rxjs/operators'; -import { TransferState, makeStateKey } from '@angular/platform-browser'; + import { isPlatformBrowser } from '@angular/common'; @Injectable() diff --git a/frontend/src/main.server.ts b/frontend/src/main.server.ts index 6121b7d88..58acaeffc 100644 --- a/frontend/src/main.server.ts +++ b/frontend/src/main.server.ts @@ -7,5 +7,5 @@ if (environment.production) { enableProdMode(); } -export { AppServerModule } from './app/app.server.module'; +export { AppServerModule } from './app/app.module.server'; export { renderModule } from '@angular/platform-server'; diff --git a/frontend/tsconfig.base.json b/frontend/tsconfig.base.json index cd44cb6d9..bfb2e2d71 100644 --- a/frontend/tsconfig.base.json +++ b/frontend/tsconfig.base.json @@ -7,7 +7,7 @@ "declaration": false, "downlevelIteration": true, "experimentalDecorators": true, - "module": "ES2020", + "module": "ES2022", "moduleResolution": "node", "importHelpers": true, "target": "ES2022", @@ -15,7 +15,7 @@ "node_modules/@types" ], "lib": [ - "ES2018", + "ES2022", "dom", "dom.iterable" ]