redaktorscha/frontend-project-12

View on GitHub
frontend/src/components/Main.jsx

Summary

Maintainability
A
1 hr
Test Coverage

Function Main has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const Main = () => {
  const { t } = useTranslation();
  const currentChannelId = useSelector((state) => state.channels.currentChannelId) || null;
  const currentChannel = useSelector((state) => channelSelectors
    .selectById(state, currentChannelId)) || null;
Severity: Minor
Found in frontend/src/components/Main.jsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status