From d27d9bf7dcf9fa99d0648350a0f80d4c28f6330c Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Thu, 16 Oct 2025 18:25:10 +0300 Subject: [PATCH] chore(collection/presentation): fix typecheck --- apps/client/src/widgets/collections/presentation/themes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/widgets/collections/presentation/themes.ts b/apps/client/src/widgets/collections/presentation/themes.ts index da706a658..414472d56 100644 --- a/apps/client/src/widgets/collections/presentation/themes.ts +++ b/apps/client/src/widgets/collections/presentation/themes.ts @@ -50,7 +50,7 @@ export function getPresentationThemes() { })); } -export async function loadPresentationTheme(name: keyof typeof themes) { +export async function loadPresentationTheme(name: keyof typeof themes | string) { let theme = themes[name]; if (!theme) theme = themes[DEFAULT_THEME];