diff --git a/editor.planx.uk/src/pages/Pay/MakePayment.tsx b/editor.planx.uk/src/pages/Pay/MakePayment.tsx index f6db81c4a1..da6d7c4d96 100644 --- a/editor.planx.uk/src/pages/Pay/MakePayment.tsx +++ b/editor.planx.uk/src/pages/Pay/MakePayment.tsx @@ -171,16 +171,7 @@ export default function MakePayment({ ); const PaymentDetails = () => { - const [projectType, setProjectType] = useState(); - - useEffect(() => { - const fetchProjectType = () => { - const projectType = formatRawProjectTypes(rawProjectTypes); - setProjectType(projectType); - }; - fetchProjectType(); - }, []); - + const projectType = formatRawProjectTypes(rawProjectTypes); const data = [ { term: "Application type", details: flowName }, {