Skip to content

Commit 3222ab3

Browse files
AryanBVclaude
andcommitted
fix: Add explicit return in useEffect to fix TypeScript error
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent b57c4f8 commit 3222ab3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

frontend/src/components/classify/chat-input.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ export function ChatInput({
4646
}, 100)
4747
return () => clearTimeout(timer)
4848
}
49+
return undefined
4950
}, [autoFocus, disabled])
5051

5152
const minChars = 3 // Reduced from 10 to 3 for better UX

0 commit comments

Comments
 (0)