瀏覽代碼

Finished bug 2048

bugfix/2048
Djordje Mitrovic 3 年之前
父節點
當前提交
796f8de8b6
共有 1 個檔案被更改,包括 0 行新增3 行删除
  1. 0
    3
      src/components/DirectChat/DirectChat.js

+ 0
- 3
src/components/DirectChat/DirectChat.js 查看文件

@@ -22,7 +22,6 @@ import SkeletonDirectChat from "./SkeletonDirectChat/SkeletonDirectChat";
import { selectIsLoadingByActionType } from "../../store/selectors/loadingSelectors";
import { CHAT_SCOPE } from "../../store/actions/chat/chatActionConstants";
import {
selectJwtToken,
selectUserId,
} from "../../store/selectors/loginSelectors";
import {
@@ -54,7 +53,6 @@ const DirectChat = () => {
const location = useLocation();
const dispatch = useDispatch();
const { t } = useTranslation();
const token = useSelector(selectJwtToken);
const exchange = useSelector(selectExchange);
const requester = useSelector(selectRequester);

@@ -180,7 +178,6 @@ const DirectChat = () => {
chat?._id,
userId,
chat?.participants[interlocutor]._id,
token,
() => {
dispatch(
addNewMessage({

Loading…
取消
儲存