decrease delay for checking auth state

This commit is contained in:
igoradamenko
2018-05-13 01:17:34 +03:00
parent 83cee9ce80
commit fb64e705cd
+1 -1
View File
@@ -100,7 +100,7 @@ export default class Root extends Component {
const newWindow = window.open(`${BASE_URL}/auth/${provider}/login?from=${encodeURIComponent(location.href)}`);
let secondsPass = 0;
const checkMsDelay = 200;
const checkMsDelay = 100;
const checkInterval = setInterval(() => {
secondsPass += checkMsDelay;