srn Lint fixes

This commit is contained in:
sumit_chaturvedi
2025-06-03 12:06:22 +05:30
parent caef85e771
commit fe19fdf1fa
3 changed files with 8 additions and 7 deletions
@@ -101,7 +101,7 @@ export const ColumnResources: ColumnDef<ResourceProps>[] = [
<>
<p className="text-center">
<span
className={`w-6 h-6 rounded-full bg-yellow-100 text-yellow-800 text-xs font-semibold flex items-center justify-center mx-auto ${getChipStyle(count)}`}
className={`mx-auto flex h-6 w-6 items-center justify-center rounded-full bg-yellow-100 text-xs font-semibold text-yellow-800 ${getChipStyle(count)}`}
>
{count}
</span>
@@ -82,17 +82,18 @@ export const ResourceDetail = ({
<EntityInfoShort
cloudProvider={
resourceData.relationships.provider.data.attributes.provider as
| "aws"
| "azure"
| "gcp"
| "kubernetes"
| "aws"
| "azure"
| "gcp"
| "kubernetes"
}
entityAlias={
resourceData.relationships.provider.data.attributes
.alias as string
}
entityId={
resourceData.relationships.provider.data.attributes.uid as string
resourceData.relationships.provider.data.attributes
.uid as string
}
/>
</div>
+1 -1
View File
@@ -3,5 +3,5 @@ export * from "./components";
export * from "./filters";
export * from "./formSchemas";
export * from "./providers";
export * from "./scans";
export * from "./resources";
export * from "./scans";