Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

fix: page no longer refreshes on stop generating button

Daniel Avila83d0443c8a69
diff --git a/client/src/components/Input/index.jsx b/client/src/components/Input/index.jsx
index e87f305ac7..067f1bcda9 100644
--- a/client/src/components/Input/index.jsx
+++ b/client/src/components/Input/index.jsx
@@ -62,7 +62,8 @@ export default function TextChat({ isSearchView = false }) {
setText('');
};
- const handleStopGenerating = () => {
+ const handleStopGenerating = (e) => {
+ e.preventDefault();
stopGenerating();
};