From 44db0f40a1e994df4061f897ac4f4ad8c38384e6 Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Thu, 11 Jul 2024 15:57:46 +0200 Subject: [PATCH] remove unnecessary async --- editor.planx.uk/src/pages/Pay/MakePayment.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor.planx.uk/src/pages/Pay/MakePayment.tsx b/editor.planx.uk/src/pages/Pay/MakePayment.tsx index 09855bc305..f6db81c4a1 100644 --- a/editor.planx.uk/src/pages/Pay/MakePayment.tsx +++ b/editor.planx.uk/src/pages/Pay/MakePayment.tsx @@ -174,7 +174,7 @@ export default function MakePayment({ const [projectType, setProjectType] = useState(); useEffect(() => { - const fetchProjectType = async () => { + const fetchProjectType = () => { const projectType = formatRawProjectTypes(rawProjectTypes); setProjectType(projectType); };