mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-26 20:45:37 +02:00
style: fix prettier formatting in useApp.ts
This commit is contained in:
@@ -24,7 +24,12 @@ const AGENT_AUTH_COMMANDS: Record<string, string> = {
|
||||
|
||||
// Check if error is authentication related
|
||||
function isAuthError(errorMessage: string): boolean {
|
||||
const authKeywords = ['authentication required', 'unauthorized', 'not authenticated', 'login required']
|
||||
const authKeywords = [
|
||||
'authentication required',
|
||||
'unauthorized',
|
||||
'not authenticated',
|
||||
'login required'
|
||||
]
|
||||
const lowerMessage = errorMessage.toLowerCase()
|
||||
return authKeywords.some((keyword) => lowerMessage.includes(keyword))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user