From 567d2eb14608a0ba35849e118d5a4d7e5d3a0139 Mon Sep 17 00:00:00 2001 From: Jiang Bohan Date: Fri, 16 Jan 2026 14:20:53 +0800 Subject: [PATCH] style: fix prettier formatting in useApp.ts --- src/renderer/src/hooks/useApp.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/renderer/src/hooks/useApp.ts b/src/renderer/src/hooks/useApp.ts index 05b6d16a5..e087269c9 100644 --- a/src/renderer/src/hooks/useApp.ts +++ b/src/renderer/src/hooks/useApp.ts @@ -24,7 +24,12 @@ const AGENT_AUTH_COMMANDS: Record = { // 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)) }