just show children when show layout
This commit is contained in:
parent
c1c48c8614
commit
c00dc3e0f1
1 changed files with 5 additions and 3 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue