bugfix not updating the frontend on account add
This commit is contained in:
parent
085ea15247
commit
15e696c4d6
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ class StripeAccountConnection extends React.Component<Props, State> {
|
||||||
// if it's beamer's error indicating the account is not linked yet
|
// if it's beamer's error indicating the account is not linked yet
|
||||||
if (error.message.indexOf(errorString) > -1) {
|
if (error.message.indexOf(errorString) > -1) {
|
||||||
// get stripe link and set it on the frontend
|
// get stripe link and set it on the frontend
|
||||||
getAndSetAccountLink();
|
getAndSetAccountLink(true);
|
||||||
} else {
|
} else {
|
||||||
// not an error from Beamer, throw it
|
// not an error from Beamer, throw it
|
||||||
throw new Error(error);
|
throw new Error(error);
|
||||||
|
|
Loading…
Add table
Reference in a new issue