style(ui): auto-format lint fixes

This commit is contained in:
alejandrobailo
2026-03-18 20:01:03 +01:00
parent 3026bdc5d5
commit 31357d8186
3 changed files with 8 additions and 4 deletions

View File

@@ -115,8 +115,7 @@ export function adaptFindingsByResourceResponse(
// Resolve provider via scan → provider (include path: scan.provider)
const scanRel = item.relationships?.scan?.data;
const scan = scanRel ? scansDict[scanRel.id] : null;
const providerRelId =
scan?.relationships?.provider?.data?.id ?? null;
const providerRelId = scan?.relationships?.provider?.data?.id ?? null;
const provider = providerRelId ? providersDict[providerRelId] : null;
const providerAttrs = provider?.attributes || {};

View File

@@ -190,7 +190,9 @@ export const ProviderTypeSelector = ({
),
)
.filter((type): type is ProviderType => type in PROVIDER_DATA)
.sort((a, b) => PROVIDER_DATA[a].label.localeCompare(PROVIDER_DATA[b].label));
.sort((a, b) =>
PROVIDER_DATA[a].label.localeCompare(PROVIDER_DATA[b].label),
);
const renderIcon = (providerType: ProviderType) => {
const IconComponent = PROVIDER_DATA[providerType].icon;

View File

@@ -41,7 +41,10 @@ export function ActionDropdown({
aria-label={ariaLabel}
className="hover:bg-bg-neutral-tertiary rounded-md p-1 transition-colors"
>
<VerticalDotsIcon size={20} className="text-text-neutral-secondary" />
<VerticalDotsIcon
size={20}
className="text-text-neutral-secondary"
/>
</button>
)}
</DropdownMenuTrigger>