From b1b228b944b4bed8fd03867c8136ecf951ad666c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gr=C3=A9goire=20Aubert?= Date: Wed, 19 Dec 2018 15:06:22 +0100 Subject: [PATCH] SONARCLOUD-333 Fix confirmation modal after billing upgrade --- .../src/main/js/apps/create/components/BillingFormShim.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/sonar-web/src/main/js/apps/create/components/BillingFormShim.tsx b/server/sonar-web/src/main/js/apps/create/components/BillingFormShim.tsx index c0efc0882ff..9455626bdbd 100644 --- a/server/sonar-web/src/main/js/apps/create/components/BillingFormShim.tsx +++ b/server/sonar-web/src/main/js/apps/create/components/BillingFormShim.tsx @@ -33,7 +33,7 @@ interface Props { children: (props: ChildrenProps) => React.ReactNode; initialCountry?: string; currentUser: T.CurrentUser; - onCommit: () => void; + onCommit: () => void | Promise; onFailToUpgrade?: () => void; organizationKey: string | (() => Promise); subscriptionPlans: T.SubscriptionPlan[]; -- 2.39.5