From 06334300fee1b52f03805f4757ff8dc1d4df6a14 Mon Sep 17 00:00:00 2001 From: Gion-Andri Cantieni Date: Fri, 8 Sep 2023 16:46:35 +0200 Subject: [PATCH] feat: implement client side hydration --- src/app/app.module.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/app.module.ts b/src/app/app.module.ts index a6805b0..214a365 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -1,5 +1,5 @@ import {NgModule} from '@angular/core'; -import {BrowserModule} from '@angular/platform-browser'; +import {BrowserModule, provideClientHydration} from '@angular/platform-browser'; import {AppRoutingModule} from './app-routing.module'; import {AppComponent} from './app.component'; @@ -143,7 +143,7 @@ export function createTranslateLoader(http: HttpClient) { defaultLanguage: 'rm' }), ], - providers: [], + providers: [provideClientHydration()], bootstrap: [AppComponent] }) export class AppModule {