setInputMsg("") after click assistant or user
This commit is contained in:
@@ -487,6 +487,7 @@ export default function ChatBOX(props: {
|
|||||||
example: false,
|
example: false,
|
||||||
});
|
});
|
||||||
update_total_tokens();
|
update_total_tokens();
|
||||||
|
setInputMsg("");
|
||||||
setChatStore({ ...chatStore });
|
setChatStore({ ...chatStore });
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
@@ -506,6 +507,7 @@ export default function ChatBOX(props: {
|
|||||||
example: false,
|
example: false,
|
||||||
});
|
});
|
||||||
update_total_tokens();
|
update_total_tokens();
|
||||||
|
setInputMsg("");
|
||||||
setChatStore({ ...chatStore });
|
setChatStore({ ...chatStore });
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user