refactor: improve modal ux

This commit is contained in:
Yidadaa
2023-07-04 22:08:41 +08:00
parent cda074fe24
commit f2d748cfe4
3 changed files with 8 additions and 3 deletions

View File

@@ -911,6 +911,7 @@ export function Chat() {
const newMessage = await showPrompt(
Locale.Chat.Actions.Edit,
message.content,
10,
);
chatStore.updateCurrentSession((session) => {
const m = session.messages.find(