Web: Client: setTimeout was removed from thirdparty services settings
This commit is contained in:
parent
f45a90f2fa
commit
ddbffdc632
@ -120,12 +120,10 @@ class ThirdPartyServices extends React.Component {
|
||||
showLoader();
|
||||
const urlParts = window.location.href.split("?");
|
||||
if (urlParts.length > 1) {
|
||||
setTimeout(() => {
|
||||
const queryValue = urlParts[1].split("=")[1];
|
||||
fetchAndSetConsumers(queryValue)
|
||||
.then((isConsumerExist) => isConsumerExist && this.onModalOpen())
|
||||
.finally(() => hideLoader());
|
||||
}, 100);
|
||||
const queryValue = urlParts[1].split("=")[1];
|
||||
fetchAndSetConsumers(queryValue)
|
||||
.then((isConsumerExist) => isConsumerExist && this.onModalOpen())
|
||||
.finally(() => hideLoader());
|
||||
} else {
|
||||
getConsumers().finally(() => hideLoader());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user