fix: reduce debounce time for input handling in auto-save

This commit is contained in:
Danny Avila 2025-09-19 12:55:22 -04:00
parent 3c23f273f9
commit 1966579e31
No known key found for this signature in database
GPG key ID: BF31EEB2C5CA0956

View file

@ -105,7 +105,7 @@ export const useAutoSave = ({
return;
}
const handleInput = debounce((value: string) => setDraft({ id: conversationId, value }), 750);
const handleInput = debounce((value: string) => setDraft({ id: conversationId, value }), 65);
const eventListener = (e: Event) => {
const target = e.target as HTMLTextAreaElement;