Fix prefer-global-this error

Signed-off-by: yubiuser <github@yubiuser.dev>
This commit is contained in:
yubiuser
2024-12-07 16:11:35 +01:00
parent b7b9227b3a
commit e7f97baab1
12 changed files with 26 additions and 26 deletions

View File

@@ -18,7 +18,7 @@ function redirect() {
}
// Redirect to target
window.location.replace(target);
globalThis.location.replace(target);
}
function wrongPassword(isError = false, isSuccess = false, data = null) {