mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-18 01:10:14 +01:00
fix: page no longer refreshes on stop generating button
This commit is contained in:
parent
5fbefa15ce
commit
83d0443c8a
1 changed files with 2 additions and 1 deletions
|
|
@ -62,7 +62,8 @@ export default function TextChat({ isSearchView = false }) {
|
||||||
setText('');
|
setText('');
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleStopGenerating = () => {
|
const handleStopGenerating = (e) => {
|
||||||
|
e.preventDefault();
|
||||||
stopGenerating();
|
stopGenerating();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue