mirror of
https://github.com/LightZirconite/Microsoft-Rewards-Bot.git
synced 2026-01-11 17:56:15 +00:00
fix: Clean up whitespace and improve readability in login flow logic
This commit is contained in:
@@ -596,10 +596,10 @@ export class Login {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (state.state === LoginState.LoggedIn) {
|
if (state.state === LoginState.LoggedIn) {
|
||||||
this.bot.log(this.bot.isMobile, 'LOGIN', 'Already logged in, skipping email entry')
|
this.bot.log(this.bot.isMobile, 'LOGIN', 'Already logged in, skipping email entry')
|
||||||
return
|
return
|
||||||
} // IMPROVED: Smart element waiting (silent)
|
} // IMPROVED: Smart element waiting (silent)
|
||||||
let emailResult = await waitForElementSmart(page, SELECTORS.emailInput, {
|
let emailResult = await waitForElementSmart(page, SELECTORS.emailInput, {
|
||||||
initialTimeoutMs: 2000,
|
initialTimeoutMs: 2000,
|
||||||
extendedTimeoutMs: 5000,
|
extendedTimeoutMs: 5000,
|
||||||
|
|||||||
Reference in New Issue
Block a user