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")} className={cn("w-full h-full")}
> >
<div className={cn("w-full h-full", !showLayout && "hidden")}> {showLayout && (
{children} <div className={cn("w-full h-full", !showLayout && "hidden")}>
</div> {children}
</div>
)}
{!showLayout && ( {!showLayout && (
<OnboardingContent <OnboardingContent
handleStepComplete={handleStepComplete} handleStepComplete={handleStepComplete}