fix: reply message disappear delay

This commit is contained in:
zerosoul
2022-05-17 11:49:08 +08:00
parent 69559b6f75
commit dc732fcc1c
2 changed files with 1 additions and 5 deletions
@@ -25,7 +25,7 @@ export default function LeaveConfirmModal({ id, closeModal, handleNextStep }) {
title="Leave Channel"
description={
isOwner
? "You have to transfer the ownership first"
? "You need to transfer your channel ownership to someone else before leaving the channel."
: "Are you sure want to leave this channel?"
}
buttons={
-4
View File
@@ -5,7 +5,6 @@ import { useDispatch, useSelector } from "react-redux";
import useSendMessage from "../../hook/useSendMessage";
import useAddLocalFileMessage from "../../hook/useAddLocalFileMessage";
import { removeReplyingMessage } from "../../../app/slices/message";
import { updateInputMode, updateUploadFiles } from "../../../app/slices/ui";
import { ContentTypes } from "../../../app/config";
@@ -90,9 +89,6 @@ function Send({
from_uid,
properties,
});
if (replying_mid) {
dispatch(removeReplyingMessage(id));
}
}
}
// send files