diff --git a/src/views/KYC/KYCCaseDetail/KYCCasePending/KYCCasePending.tsx b/src/views/KYC/KYCCaseDetail/KYCCasePending/KYCCasePending.tsx index 7dc5184..5f4cb1c 100644 --- a/src/views/KYC/KYCCaseDetail/KYCCasePending/KYCCasePending.tsx +++ b/src/views/KYC/KYCCaseDetail/KYCCasePending/KYCCasePending.tsx @@ -9,12 +9,7 @@ import {Error, Pending} from "@carbon/icons-react"; import './KYCCasePending.scss'; import {selectedKycCaseAtom} from "../../../../atoms"; import {CustomerRisk, DocumentList, KycSummary, NegativeNews, Stack} from "../../../../components"; -import { - CustomerRiskAssessmentModel, isCustomerRiskAssessmentModel, isKycCaseSummaryModel, isNegativeScreeningModel, - KycCaseModel, - KycCaseSummaryModel, - NegativeScreeningModel -} from "../../../../models"; +import {KycCaseModel} from "../../../../models"; import {kycCaseManagementApi} from "../../../../services"; export interface KYCCasePendingProps { @@ -40,11 +35,11 @@ export const KYCCasePending: React.FunctionComponent = (pro const getIcon = (data?: {error?: string}): ComponentType<{size: number}> => { if (!data) { - return Pending as any; + return Pending as never; } if (data.error) { - return Error as any; + return Error as never; } return undefined diff --git a/src/views/Main/Main.tsx b/src/views/Main/Main.tsx deleted file mode 100644 index 6f364dc..0000000 --- a/src/views/Main/Main.tsx +++ /dev/null @@ -1,21 +0,0 @@ -// eslint-disable-next-line @typescript-eslint/ban-ts-comment -// @ts-ignore -import React from 'react'; -import {Outlet} from "react-router-dom"; - -import {UIShell} from "../../components"; -import {NavigationModel} from "../../models"; - -export interface MainProps { - navigation: NavigationModel -} - -export const Main: React.FunctionComponent = (props: MainProps) => { - return ( -
- - - -
- ) -}