diff --git a/src/app/features/cases/components/organisms/CaseDetail/sections/General.tsx b/src/app/features/cases/components/organisms/CaseDetail/sections/General.tsx index ed7be6a86..de212742a 100644 --- a/src/app/features/cases/components/organisms/CaseDetail/sections/General.tsx +++ b/src/app/features/cases/components/organisms/CaseDetail/sections/General.tsx @@ -14,7 +14,7 @@ import FraudPredictionDetailsModal from "app/features/cases/components/organisms import { useFraudPredictionModal } from "app/features/cases/components/organisms/FraudPrediction/hooks/useFraudPredictionModal" import { hideFraudProbability } from "app/features/shared/utils/fraudPredictionPilot" -import { getAddress, getEigenaar } from "../utils" +import { getAddress } from "../utils" import { StyledAnchor, Grid, @@ -51,7 +51,6 @@ const General: FC = ({ caseId }) => { const address = getAddress(caseData.address) const postalCode = caseData.address.postal_code - const eigenaar = getEigenaar(caseData) const hasPriority = (caseData.schedules && caseData.schedules[0]?.priority?.weight >= 0.5) ?? false const hasWarrant = (caseData.schedules && caseData.schedules[0]?.priority?.weight >= 1.0) ?? false @@ -85,8 +84,6 @@ const General: FC = ({ caseId }) => { { caseData?.subjects.map((subject: { name: string }) => subject.name).join(", ") } )} - - { fraudPrediction && !hideFraudProbability(caseId, daySettings?.team_settings?.fraudprediction_pilot_enabled) && ( <>