frontend/src/components/pages/ChatPage/ChatPageComponents/Channels.jsx
Function Channels
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const Channels = () => {
const dispatch = useDispatch();
const channels = useSelector(channelsSelectors.selectAll);
const activeChannelId = useSelector((state) => {
const { currentChannelId } = state.channels;