From 7a7d4717bb43206c6f44c12c4eb7b19554f0fba7 Mon Sep 17 00:00:00 2001 From: Roman Date: Tue, 13 Aug 2024 05:18:15 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B5=D1=83=D1=8B=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/Components/mainPage/MessagesHeader.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/Components/mainPage/MessagesHeader.jsx b/frontend/src/Components/mainPage/MessagesHeader.jsx index f38e0d6..446f8b1 100644 --- a/frontend/src/Components/mainPage/MessagesHeader.jsx +++ b/frontend/src/Components/mainPage/MessagesHeader.jsx @@ -13,6 +13,7 @@ const MessageHeader = ({ filter }) => { const currentChennel = channelsList.find((c) => +c.id === +currentChennelId); const currentChannelMessages = messages .filter((message) => message.channelId === currentChennelId); + console.log(currentChennel, currentChennelId, channelsList); /* eslint-disable-line */ return (