diff --git a/.gitignore b/.gitignore
index 37f6b9029..d622039c9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -39,4 +39,7 @@ dev
 public/prompts.json
 
 .vscode
-.idea
\ No newline at end of file
+.idea
+
+# Other Package Manager
+pnpm-lock.yaml
\ No newline at end of file
diff --git a/app/components/chat.tsx b/app/components/chat.tsx
index 94baf1b66..f2cd8cc49 100644
--- a/app/components/chat.tsx
+++ b/app/components/chat.tsx
@@ -502,7 +502,7 @@ export function Chat() {
       e.preventDefault();
       return;
     }
-    if (shouldSubmit(e)) {
+    if (shouldSubmit(e) && promptHints.length === 0) {
       doSubmit(userInput);
       e.preventDefault();
     }