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")}
|
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}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue