frontend/src/components/Main.jsx
Function Main
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const Main = () => {
const { t } = useTranslation();
const currentChannelId = useSelector((state) => state.channels.currentChannelId) || null;
const currentChannel = useSelector((state) => channelSelectors
.selectById(state, currentChannelId)) || null;