🐛 fix(extraSidebarComponent): fix Save button color when isPending is true

The Save button was not being displayed correctly when the isPending variable was true. The fix changes the order of the classes to correctly display the button as intended.
This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-06-15 15:33:12 -03:00
commit d3d7392104

View file

@ -133,7 +133,7 @@ export default function ExtraSidebar() {
>
<Save
className={
"w-5 h-5" + (isPending ? " text-muted-foreground" : " ")
"w-5 h-5" + (isPending ? " " : " text-muted-foreground")
}
></Save>
</button>