feat: Add Skeleton to MessageItem before the backend returns a message and fixed the issue where ChatConfigurationModal displays old data when creating a new dialog (#99)
* feat: fixed the issue where ChatConfigurationModal displays old data when creating a new dialog * feat: Add Skeleton to MessageItem before the backend returns a message
This commit is contained in:
@@ -76,9 +76,9 @@ const Chat = () => {
|
||||
(info: any) => {
|
||||
info?.domEvent?.preventDefault();
|
||||
info?.domEvent?.stopPropagation();
|
||||
if (dialogId) {
|
||||
setCurrentDialog(dialogId);
|
||||
}
|
||||
// if (dialogId) {
|
||||
setCurrentDialog(dialogId ?? '');
|
||||
// }
|
||||
showModal();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user