Ver código fonte

Finished bug 2048

bugfix/2048
Djordje Mitrovic 3 anos atrás
pai
commit
796f8de8b6
1 arquivos alterados com 0 adições e 3 exclusões
  1. 0
    3
      src/components/DirectChat/DirectChat.js

+ 0
- 3
src/components/DirectChat/DirectChat.js Ver arquivo

@@ -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({

Carregando…
Cancelar
Salvar