asenka0301/frontend-bootcamp-project-12

View on GitHub
frontend/src/components/pages/ChatPage/ChatPageComponents/Channels.jsx

Summary

Maintainability
A
1 hr
Test Coverage

Function Channels has 46 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const Channels = () => {
  const dispatch = useDispatch();
  const channels = useSelector(channelsSelectors.selectAll);
  const activeChannelId = useSelector((state) => {
    const { currentChannelId } = state.channels;

    There are no issues that match your filters.

    Category
    Status