From 20094495a37e90c5cd15adf84b3fdfd0d7ba364e Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Mon, 8 Jul 2024 16:27:57 +0200 Subject: [PATCH] prettier --- .../modules/flows/validate/service/projectTypes.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/api.planx.uk/modules/flows/validate/service/projectTypes.ts b/api.planx.uk/modules/flows/validate/service/projectTypes.ts index e111b1e7c1..2c65d71fb6 100644 --- a/api.planx.uk/modules/flows/validate/service/projectTypes.ts +++ b/api.planx.uk/modules/flows/validate/service/projectTypes.ts @@ -1,17 +1,12 @@ import { getValidSchemaValues } from "@opensystemslab/planx-core"; -import { - ComponentType, - Edges, - FlowGraph, - Node, -} from "@opensystemslab/planx-core/types"; +import { ComponentType, FlowGraph } from "@opensystemslab/planx-core/types"; import countBy from "lodash/countBy"; import { isComponentType } from "../helpers"; import { FlowValidationResponse } from "./index"; const validateProjectTypes = (flowGraph: FlowGraph): FlowValidationResponse => { - // Get all passport values set by Answers of Questions or Checklists that set fn "proposal.projectType" + // Get all passport values set by Answers of Checklists that set fn "proposal.projectType" const projectTypeVals = getProjectTypeVals(flowGraph); if (projectTypeVals.length < 1) { return {