diff --git a/servers/nextjs/app/(presentation-generator)/outline/hooks/usePresentationGeneration.ts b/servers/nextjs/app/(presentation-generator)/outline/hooks/usePresentationGeneration.ts index 94aef50..274a2f6 100644 --- a/servers/nextjs/app/(presentation-generator)/outline/hooks/usePresentationGeneration.ts +++ b/servers/nextjs/app/(presentation-generator)/outline/hooks/usePresentationGeneration.ts @@ -149,7 +149,7 @@ export const usePresentationGeneration = ( })) }; } - } else if (templateToUse) { + } else if (templateToUse && typeof templateToUse !== 'string') { // Built-in template layout = { name: templateToUse.id,