mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
fix: lint
This commit is contained in:
@@ -38,7 +38,10 @@ export default function AuthErrorPage() {
|
||||
}
|
||||
|
||||
// Check if this is a waitlist/not allowed error
|
||||
const isWaitlistError = isWaitlistErrorFromParams(errorCode, errorDescription);
|
||||
const isWaitlistError = isWaitlistErrorFromParams(
|
||||
errorCode,
|
||||
errorDescription,
|
||||
);
|
||||
|
||||
if (isWaitlistError) {
|
||||
return (
|
||||
|
||||
@@ -29,7 +29,7 @@ export function isWaitlistError(error: any): boolean {
|
||||
*/
|
||||
export function isWaitlistErrorFromParams(
|
||||
errorCode?: string | null,
|
||||
errorDescription?: string | null
|
||||
errorDescription?: string | null,
|
||||
): boolean {
|
||||
if (!errorDescription) return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user