Skip to content

Commit 4cdd1c9

Browse files
committed
emerg: fix the loading indicator for creating stripe links
1 parent 6198d29 commit 4cdd1c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ui/pages/stripe/ViewLinks.page.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export const ManageStripeLinksPage: React.FC = () => {
1414
const createLink = async (payload: PostInvoiceLinkRequest): Promise<PostInvoiceLinkResponse> => {
1515
const modifiedPayload = { ...payload, invoiceAmountUsd: payload.invoiceAmountUsd * 100 };
1616
try {
17+
setIsLoading(true);
1718
const response = await api.post('/api/v1/stripe/paymentLinks', modifiedPayload);
1819
setIsLoading(false);
1920
return response.data;

0 commit comments

Comments
 (0)