chore: remove clear msg effect

This commit is contained in:
Tristan Yang
2023-07-27 22:46:39 +08:00
parent 8d293abd1d
commit 4b5fbaefbe
@@ -44,12 +44,6 @@ const ClearConfirmModal: FC<Props> = ({ context, title, desc, closeModal }) => {
closeModal();
}
}, [clearSuccess]);
// 即时清除本地数据
useEffect(() => {
if (clearMsgSuccess) {
clearLocalData(false);
}
}, [clearMsgSuccess]);
const clearing = msgClearing || filesClearing;
return (