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