#28 style: fix lint issues in auth components
This commit is contained in:
@@ -16,9 +16,7 @@ class AuthService {
|
||||
try {
|
||||
const errData = await resp.json();
|
||||
errMsg = errData?.detail ?? errData?.message ?? errMsg;
|
||||
} catch (_) {
|
||||
|
||||
}
|
||||
} catch (_) { /* ignore */ }
|
||||
throw new Error(errMsg);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user