mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-24 04:51:51 +00:00
chore: build is working as expected
This commit is contained in:
@@ -18,6 +18,8 @@ export default async function Findings({
|
||||
}: {
|
||||
searchParams: SearchParamsProps;
|
||||
}) {
|
||||
const searchParamsKey = JSON.stringify(searchParams || {});
|
||||
|
||||
return (
|
||||
<>
|
||||
<Header title="Findings" icon="ph:list-checks-duotone" />
|
||||
@@ -25,7 +27,7 @@ export default async function Findings({
|
||||
<Spacer y={4} />
|
||||
<FilterControls search providers date />
|
||||
<Spacer y={4} />
|
||||
<Suspense fallback={<SkeletonTableFindings />}>
|
||||
<Suspense key={searchParamsKey} fallback={<SkeletonTableFindings />}>
|
||||
<SSRDataTable searchParams={searchParams} />
|
||||
</Suspense>
|
||||
</>
|
||||
|
||||
@@ -10,7 +10,6 @@ import {
|
||||
} from "@nextui-org/react";
|
||||
import {
|
||||
// AddNoteBulkIcon,
|
||||
DeleteDocumentBulkIcon,
|
||||
EditDocumentBulkIcon,
|
||||
} from "@nextui-org/shared-icons";
|
||||
import { Row } from "@tanstack/react-table";
|
||||
@@ -31,10 +30,8 @@ const iconClasses =
|
||||
export function DataTableRowActions<FindingProps>({
|
||||
row,
|
||||
}: DataTableRowActionsProps<FindingProps>) {
|
||||
// const [isEditOpen, setIsEditOpen] = useState(false);
|
||||
// const [isDeleteOpen, setIsDeleteOpen] = useState(false);
|
||||
// const providerId = (row.original as { id: string }).id;
|
||||
// const providerAlias = (row.original as any).attributes?.alias;
|
||||
const findingId = (row.original as { id: string }).id;
|
||||
console.log(findingId);
|
||||
return (
|
||||
<>
|
||||
{/* <CustomAlertModal
|
||||
|
||||
Reference in New Issue
Block a user