change TransferState import

This commit is contained in:
Andrea Barbasso
2024-02-13 14:14:34 +01:00
parent 3794007e9e
commit bc29293411
9 changed files with 9 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
import { makeStateKey } from '@angular/platform-browser';
import { makeStateKey } from '@angular/core';
/**
* Represents ngx-translate messages in different languages in the TransferState

View File

@@ -1,6 +1,6 @@
import { TranslateLoader } from '@ngx-translate/core';
import { HttpClient } from '@angular/common/http';
import { TransferState } from '@angular/platform-browser';
import { TransferState } from '@angular/core';
import { NGX_TRANSLATE_STATE, NgxTranslateState } from './ngx-translate-state';
import { hasValue } from '../app/shared/empty.util';
import { map } from 'rxjs/operators';

View File

@@ -1,7 +1,7 @@
import { TranslateLoader } from '@ngx-translate/core';
import { Observable, of as observableOf } from 'rxjs';
import { readFileSync } from 'fs';
import { TransferState } from '@angular/platform-browser';
import { TransferState } from '@angular/core';
import { NGX_TRANSLATE_STATE, NgxTranslateState } from './ngx-translate-state';
/**