just show children when show layout

This commit is contained in:
Lucas Oliveira 2025-11-18 17:03:02 -03:00
parent c1c48c8614
commit c00dc3e0f1

View file

@ -185,9 +185,11 @@ export function ChatRenderer({
}}
className={cn("w-full h-full")}
>
<div className={cn("w-full h-full", !showLayout && "hidden")}>
{children}
</div>
{showLayout && (
<div className={cn("w-full h-full", !showLayout && "hidden")}>
{children}
</div>
)}
{!showLayout && (
<OnboardingContent
handleStepComplete={handleStepComplete}