diff --git a/apps/postgres-new/components/chat.tsx b/apps/postgres-new/components/chat.tsx index 7f1c87b..19299ee 100644 --- a/apps/postgres-new/components/chat.tsx +++ b/apps/postgres-new/components/chat.tsx @@ -506,7 +506,7 @@ export default function Chat() { return } - if (e.key === 'Enter' && !e.shiftKey) { + if (e.key === 'Enter' && !e.shiftKey && !e.nativeEvent.isComposing) { e.preventDefault() if (!isLoading && isSubmitEnabled) { handleFormSubmit(e)