From fd423cbe3c404f11aefa59f73e1cc549c4c58809 Mon Sep 17 00:00:00 2001 From: Sandro Wong Date: Sat, 26 Oct 2024 19:13:15 -0700 Subject: [PATCH] Update definepresetdoc.ts --- src/app/showcase/doc/theming/definepresetdoc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/showcase/doc/theming/definepresetdoc.ts b/src/app/showcase/doc/theming/definepresetdoc.ts index f0108b3ed68..dffb446a854 100644 --- a/src/app/showcase/doc/theming/definepresetdoc.ts +++ b/src/app/showcase/doc/theming/definepresetdoc.ts @@ -28,7 +28,7 @@ export class AppComponent { public config: PrimeNGConfig = inject(PrimeNGConfig); constructor() { - this.config.theme.set(MyPreset); + this.config.theme.set({ preset: MyPreset }); } }`, };