refactor: standardize code formatting and improve readability across multiple components, including transaction handling and sidebar layout adjustments

This commit is contained in:
Julien Froidefond
2025-12-08 09:28:09 +01:00
parent 11c0df1293
commit cb8628ce39
10 changed files with 80 additions and 86 deletions

View File

@@ -182,9 +182,7 @@ export function AccountFilterCombobox({
{isFolderPartiallySelected(folder.id) && (
<div className="h-3 w-3 rounded-sm bg-primary/50 mr-1" />
)}
{isFolderSelected(folder.id) && (
<Check className="h-4 w-4" />
)}
{isFolderSelected(folder.id) && <Check className="h-4 w-4" />}
</div>
</CommandItem>
@@ -306,9 +304,7 @@ export function AccountFilterCombobox({
)
</span>
)}
{isAll && (
<Check className="ml-auto h-4 w-4" />
)}
{isAll && <Check className="ml-auto h-4 w-4" />}
</CommandItem>
</CommandGroup>