diff --git a/frontend/src/APIClients/CamperAPIClient.ts b/frontend/src/APIClients/CamperAPIClient.ts index 999f15fb..73051c13 100644 --- a/frontend/src/APIClients/CamperAPIClient.ts +++ b/frontend/src/APIClients/CamperAPIClient.ts @@ -160,9 +160,13 @@ const sendSelectedRefundInfo = async ( ): Promise => { try { const body = { selectedRefunds }; - const { data } = await baseAPIClient.put(`/campers/refund/${refundCode}`, body, { - headers: { Authorization: getBearerToken() }, - }); + const { data } = await baseAPIClient.put( + `/campers/refund/${refundCode}`, + body, + { + headers: { Authorization: getBearerToken() }, + }, + ); return data; } catch (error) { diff --git a/frontend/src/components/pages/CamperRefundCancellation/CamperRefundFooter.tsx b/frontend/src/components/pages/CamperRefundCancellation/CamperRefundFooter.tsx index 0e3cc708..88bc038f 100644 --- a/frontend/src/components/pages/CamperRefundCancellation/CamperRefundFooter.tsx +++ b/frontend/src/components/pages/CamperRefundCancellation/CamperRefundFooter.tsx @@ -26,7 +26,7 @@ const CamperRefundFooter = ({ } }); try { - setIsLoading(true) + setIsLoading(true); const response = await CamperAPIClient.sendSelectedRefundInfo( code, selectedRefunds,