fix(frontend): resolve ESLint issues

This commit is contained in:
AAEE86
2026-09-07 09:03:51 +08:00
parent 6948852992
commit fc0417ceb9
6 changed files with 381 additions and 299 deletions
+1 -2
View File
@@ -392,8 +392,7 @@ class ApiClient {
this.isRefreshing = true
const requestAuthStateVersion = this.authStateVersion
let restorePromise!: Promise<string>
restorePromise = (async () => {
const restorePromise = (async () => {
const accessToken = await this.coordinatedRefresh()
if (requestAuthStateVersion !== this.authStateVersion) {
throw new Error('Auth state changed during session restore')