]> source.dussan.org Git - sonarqube.git/commitdiff
SONARCLOUD-333 Fix confirmation modal after billing upgrade
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>
Wed, 19 Dec 2018 14:06:22 +0000 (15:06 +0100)
committerSonarTech <sonartech@sonarsource.com>
Thu, 20 Dec 2018 10:43:28 +0000 (11:43 +0100)
server/sonar-web/src/main/js/apps/create/components/BillingFormShim.tsx

index c0efc0882ffb2c5f585c5637d894b31abd2b2d59..9455626bdbdfebdacb51a058b3dfefafe0ac5ea1 100644 (file)
@@ -33,7 +33,7 @@ interface Props {
   children: (props: ChildrenProps) => React.ReactNode;
   initialCountry?: string;
   currentUser: T.CurrentUser;
-  onCommit: () => void;
+  onCommit: () => void | Promise<void>;
   onFailToUpgrade?: () => void;
   organizationKey: string | (() => Promise<string>);
   subscriptionPlans: T.SubscriptionPlan[];