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];