ui: 貌似修了发送消息失败但提示仍在的问题但不知道有没有修好
This commit is contained in:
@@ -231,6 +231,7 @@ export default function ChatFragment({ target, showReturnButton, onReturnButtonC
|
|||||||
clearTimeout(sendingFilesSnackbarId)
|
clearTimeout(sendingFilesSnackbarId)
|
||||||
sendingFilesSnackbar.open = false
|
sendingFilesSnackbar.open = false
|
||||||
}
|
}
|
||||||
|
Client.socket?.once('disconnect', () => endSendingSnack())
|
||||||
try {
|
try {
|
||||||
setIsMessageSending(true)
|
setIsMessageSending(true)
|
||||||
for (const fileName of Object.keys(cachedFiles.current)) {
|
for (const fileName of Object.keys(cachedFiles.current)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user