refac: dropzone body -> chat-container

This commit is contained in:
Timothy J. Baek
2024-10-08 23:55:38 -07:00
parent 37fdb0ea2e
commit a3f2b7045c
2 changed files with 2 additions and 2 deletions

View File

@@ -178,8 +178,7 @@
onMount(() => {
window.setTimeout(() => chatTextAreaElement?.focus(), 0);
const dropZone = document.querySelector('body');
const dropZone = document.getElementById('chat-container');
const handleKeyDown = (event: KeyboardEvent) => {
if (event.key === 'Escape') {
console.log('Escape');