From ad40072b2bbfc4a2c79e331db2b2ce5e5b1aaf0f Mon Sep 17 00:00:00 2001 From: Manan Vaghasiya Date: Fri, 31 Mar 2023 10:47:58 +0000 Subject: [PATCH] fix build issue and setup codeowners file --- .github/CODEOWNERS | 1 + .../postures/pages/PostureCloudScanResults.tsx | 16 +++++++++------- 2 files changed, 10 insertions(+), 7 deletions(-) create mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000000..6f2441ac18 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +/deepfence_frontend/ @manV @milan-deepfence \ No newline at end of file diff --git a/deepfence_frontend/apps/dashboard/src/features/postures/pages/PostureCloudScanResults.tsx b/deepfence_frontend/apps/dashboard/src/features/postures/pages/PostureCloudScanResults.tsx index c21d61cace..768499cbec 100644 --- a/deepfence_frontend/apps/dashboard/src/features/postures/pages/PostureCloudScanResults.tsx +++ b/deepfence_frontend/apps/dashboard/src/features/postures/pages/PostureCloudScanResults.tsx @@ -10,17 +10,19 @@ import { HiDotsVertical, HiEye, HiEyeOff, - HiOutlineExclamationCircle + HiOutlineExclamationCircle, } from 'react-icons/hi'; import { IconContext } from 'react-icons/lib'; import { - ActionFunctionArgs, Form, generatePath, + ActionFunctionArgs, + Form, + generatePath, LoaderFunctionArgs, Outlet, useFetcher, useLoaderData, useParams, - useSearchParams + useSearchParams, } from 'react-router-dom'; import { toast } from 'sonner'; import { twMerge } from 'tailwind-merge'; @@ -44,7 +46,7 @@ import { SelectItem, SortingState, Table, - TableSkeleton + TableSkeleton, } from 'ui-components'; import { getCloudComplianceApiClient, getScanResultsApiClient } from '@/api/api'; @@ -52,7 +54,7 @@ import { ApiDocsBadRequestResponse, ModelCloudCompliance, ModelComplianceScanInfo, - ModelScanResultsReq + ModelScanResultsReq, } from '@/api/generated'; import { DFLink } from '@/components/DFLink'; import { ACCOUNT_CONNECTOR } from '@/components/hosts-connector/NoConnectors'; @@ -60,7 +62,7 @@ import { complianceType } from '@/components/scan-configure-forms/ComplianceScan import { NoIssueFound, ScanStatusInError, - ScanStatusInProgress + ScanStatusInProgress, } from '@/components/ScanStatusMessage'; import { PostureIcon } from '@/components/sideNavigation/icons/Posture'; import { POSTURE_STATUS_COLORS } from '@/constants/charts'; @@ -76,7 +78,7 @@ import { DFAwait } from '@/utils/suspense'; import { getOrderFromSearchParams, getPageFromSearchParams, - useSortingState + useSortingState, } from '@/utils/table'; import { usePageNavigation } from '@/utils/usePageNavigation';