changed onboarding step to not render span
This commit is contained in:
parent
f19b217853
commit
284b3ef8b5
1 changed files with 1 additions and 2 deletions
|
|
@ -82,7 +82,6 @@ export function OnboardingStep({
|
||||||
)}
|
)}
|
||||||
chatMessage={text}
|
chatMessage={text}
|
||||||
/>
|
/>
|
||||||
<span className="inline-block w-1 h-4 bg-primary ml-1 animate-pulse" />
|
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<p
|
<p
|
||||||
|
|
@ -98,7 +97,7 @@ export function OnboardingStep({
|
||||||
)}
|
)}
|
||||||
{children && (
|
{children && (
|
||||||
<AnimatePresence>
|
<AnimatePresence>
|
||||||
{showChildren && !isCompleted && (
|
{((showChildren && !isCompleted) || isMarkdown) && (
|
||||||
<motion.div
|
<motion.div
|
||||||
initial={{ opacity: 0, y: -10 }}
|
initial={{ opacity: 0, y: -10 }}
|
||||||
animate={{ opacity: 1, y: 0 }}
|
animate={{ opacity: 1, y: 0 }}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue