fianlly setShowGenerating false

This commit is contained in:
2023-03-17 00:29:13 +08:00
parent 543d09ebbb
commit 536db13ad1
+2
View File
@@ -110,6 +110,8 @@ export default function ChatBOX(props: {
setChatStore({ ...chatStore }); setChatStore({ ...chatStore });
} catch (error) { } catch (error) {
alert(error); alert(error);
} finally {
setShowGenerating(false);
} }
}; };