Skip to content

Commit

Permalink
refactor: fix hydration
Browse files Browse the repository at this point in the history
  • Loading branch information
BioPhoton committed Aug 3, 2023
1 parent 1aa23c6 commit 4b69ace
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions projects/movies/src/app/app.base.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ import {
import { RxActionFactory } from '@rx-angular/state/actions';
import { ROUTES } from './routes';
import { withGobalStateInitializer } from './state/state-app-initializer.provider';
import { provideClientHydration } from '@angular/platform-browser';

const appConfig: ApplicationConfig = {
providers: [
provideClientHydration(),
provideRouter(
ROUTES,
// withDebugTracing(),
Expand Down
2 changes: 0 additions & 2 deletions projects/movies/src/app/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { APP_INITIALIZER, ApplicationConfig, NgZone } from '@angular/core';
import { mergeBaseConfig } from './app.base.config';
import { provideFastSVG } from '@push-based/ngx-fast-svg';
import { provideHttpClient, withInterceptors } from '@angular/common/http';
import { provideClientHydration } from '@angular/platform-browser';
import { RX_RENDER_STRATEGIES_CONFIG } from '@rx-angular/cdk/render-strategies';
import { tmdbContentTypeInterceptor } from './data-access/api/tmdbContentTypeInterceptor';
import { tmdbReadAccessInterceptor } from './auth/tmdb-http-interceptor.feature';
Expand All @@ -13,7 +12,6 @@ import { provideTmdbImageLoader } from './data-access/images/image-loader';

const browserConfig: ApplicationConfig = {
providers: [
provideClientHydration(),
provideHttpClient(
withInterceptors([tmdbContentTypeInterceptor, tmdbReadAccessInterceptor])
),
Expand Down

0 comments on commit 4b69ace

Please sign in to comment.