From c3e42292741a5be8eeaafca1be4e53b98f61a6cd Mon Sep 17 00:00:00 2001 From: AxeRicin Date: Tue, 9 Jan 2024 10:08:40 +0300 Subject: [PATCH] Update ChannelBtn.js --- frontend/src/components/ChannelBtn.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/ChannelBtn.js b/frontend/src/components/ChannelBtn.js index 4ef3e7f..a0d6974 100644 --- a/frontend/src/components/ChannelBtn.js +++ b/frontend/src/components/ChannelBtn.js @@ -14,7 +14,7 @@ const ChannelBtn = ({ channel }) => { const dispatch = useDispatch(); const { t } = useTranslation(); - const hendlerClickForChannelBtn = (id) => () => dispatch(setCurrentChannel(id)); + const handlerClickForChannelBtn = (id) => () => dispatch(setCurrentChannel(id)); const handleRemoveChannel = (id) => () => dispatch(openModal({ type: 'removeChannel', extra: id })); const handleRenameChannel = (id) => () => dispatch(openModal({ type: 'renameChannel', extra: id })); @@ -35,7 +35,7 @@ const ChannelBtn = ({ channel }) => {