From 54a9b103b90e4f47221ae8709d1e84be70300bf6 Mon Sep 17 00:00:00 2001 From: Natalia Bandurova Date: Tue, 5 Nov 2024 03:00:50 +0300 Subject: [PATCH] refactor: remove console log --- frontend/src/components/channels/Channels.jsx | 1 - frontend/src/components/channels/ChannelsItem.jsx | 2 -- 2 files changed, 3 deletions(-) diff --git a/frontend/src/components/channels/Channels.jsx b/frontend/src/components/channels/Channels.jsx index c1fe8bf..5424a1d 100644 --- a/frontend/src/components/channels/Channels.jsx +++ b/frontend/src/components/channels/Channels.jsx @@ -15,7 +15,6 @@ const Channels = () => { const handleOpenModal = () => { dispatch(openModal({ type: MODAL_TYPES.ADD })); - console.log('Modal type being dispatched:', MODAL_TYPES.ADD); }; return ( diff --git a/frontend/src/components/channels/ChannelsItem.jsx b/frontend/src/components/channels/ChannelsItem.jsx index 817f06e..1763b59 100644 --- a/frontend/src/components/channels/ChannelsItem.jsx +++ b/frontend/src/components/channels/ChannelsItem.jsx @@ -24,7 +24,6 @@ const ChannelItem = ({ channelItem }) => { id: channelItem.id, name: channelItem.name, })); - console.log('Modal type being dispatched:', MODAL_TYPES.REMOVE); }; const handleRenameChannel = () => { @@ -33,7 +32,6 @@ const ChannelItem = ({ channelItem }) => { id: channelItem.id, name: channelItem.name, })); - console.log('Modal type being dispatched:', MODAL_TYPES.RENAME); }; return (