get stuff ready for merge

This commit is contained in:
Anthony 2021-08-10 21:08:15 +02:00
parent 71e7a5bfa7
commit de4f1896cf
No known key found for this signature in database
GPG key ID: C386D3C93D50E356
3 changed files with 6 additions and 12 deletions

View file

@ -133,8 +133,6 @@ class StripeAccountConnection extends React.Component<Props, State> {
that.setState({
accountTransactions: accountListResponse.reverse(),
});
console.log(accountListResponse);
});
}
@ -170,7 +168,7 @@ class StripeAccountConnection extends React.Component<Props, State> {
getAndSetAccountLink(true);
} else {
// probably an error from stripe
var displayString = 'There was an error getting your account setup, please let support know';
const displayString = 'There was an error getting your account setup, please let support know';
doToast({ message: displayString, isError: true });
// not an error from Beamer, throw it
throw new Error(error);

View file

@ -181,8 +181,6 @@ class SettingsStripeCard extends React.Component<Props, State> {
},
'post'
).then((customerSetupResponse) => {
console.log(customerSetupResponse);
clientSecret = customerSetupResponse.client_secret;
// instantiate stripe elements
@ -190,14 +188,12 @@ class SettingsStripeCard extends React.Component<Props, State> {
});
// 500 error from the backend being down
} else if (error === 'internal_apis_down') {
var displayString = 'There was an error from the server, please let support know';
const displayString = 'There was an error from the server, please let support know';
doToast({ message: displayString, isError: true });
} else {
// probably an error from stripe
var displayString = 'There was an error getting your card setup, please let support know';
const displayString = 'There was an error getting your card setup, please let support know';
doToast({ message: displayString, isError: true });
console.log('Unseen before error');
}
});
}, 250);

View file

@ -404,9 +404,9 @@ fieldset-group {
}
}
//.form-field--price-amount {
// max-width: 6em;
//}
.form-field--price-amount {
max-width: 6em;
}
.form-field--price-amount--auto {
width: auto;