Skip to content

Commit

Permalink
remove unnecessary async
Browse files Browse the repository at this point in the history
  • Loading branch information
jessicamcinchak committed Jul 11, 2024
1 parent b3dd30e commit 44db0f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor.planx.uk/src/pages/Pay/MakePayment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export default function MakePayment({
const [projectType, setProjectType] = useState<string | undefined>();

useEffect(() => {
const fetchProjectType = async () => {
const fetchProjectType = () => {
const projectType = formatRawProjectTypes(rawProjectTypes);
setProjectType(projectType);
};
Expand Down

0 comments on commit 44db0f4

Please sign in to comment.