fix: page no longer refreshes on stop generating button
This commit is contained in:
@@ -62,7 +62,8 @@ export default function TextChat({ isSearchView = false }) {
|
||||
setText('');
|
||||
};
|
||||
|
||||
const handleStopGenerating = () => {
|
||||
const handleStopGenerating = (e) => {
|
||||
e.preventDefault();
|
||||
stopGenerating();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user