Merge branch 'master' into release
This commit is contained in:
commit
e9f40a3f42
|
@ -49,7 +49,11 @@ class billingService {
|
||||||
try {
|
try {
|
||||||
const publishableKey = getStripePublishableKey();
|
const publishableKey = getStripePublishableKey();
|
||||||
const main = async () => {
|
const main = async () => {
|
||||||
|
try {
|
||||||
this.stripe = await loadStripe(publishableKey);
|
this.stripe = await loadStripe(publishableKey);
|
||||||
|
} catch (e) {
|
||||||
|
console.warn(e);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
runningInBrowser() && checkConnectivity() && main();
|
runningInBrowser() && checkConnectivity() && main();
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|
Loading…
Reference in a new issue