📝 (index.tsx): remove trailing whitespace in button className to improve code readability

♻️ (index.tsx): refactor button className to remove unnecessary ternary operator and improve code readability
♻️ (index.tsx): refactor icon className to remove unnecessary classes and improve code readability
This commit is contained in:
cristhianzl 2024-05-04 00:57:16 -03:00
commit a2a1642017

View file

@ -103,10 +103,8 @@ export default function FlowToolbar(): JSX.Element {
className={`relative inline-flex w-full cursor-not-allowed items-center justify-center gap-1 px-5 py-3 text-sm font-semibold text-muted-foreground transition-all duration-150 ease-in-out ease-in-out`}
>
<ForwardedIconComponent
name="Zap"
className={
"message-button-icon h-5 w-5 fill-muted-foreground stroke-muted-foreground transition-all"
}
name="BotMessageSquareIcon"
className={" h-5 w-5 transition-all"}
/>
Playground
</div>