📝 (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:
parent
ca85bc0827
commit
a2a1642017
1 changed files with 2 additions and 4 deletions
|
|
@ -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`}
|
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
|
<ForwardedIconComponent
|
||||||
name="Zap"
|
name="BotMessageSquareIcon"
|
||||||
className={
|
className={" h-5 w-5 transition-all"}
|
||||||
"message-button-icon h-5 w-5 fill-muted-foreground stroke-muted-foreground transition-all"
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
Playground
|
Playground
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue