Showing 2 of 2 total issues
Function renderPosts
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const renderPosts = (st, visitedPostsId, i18nInstance) => {
const posts = document.querySelector('.posts');
posts.textContent = '';
if (st.length === 0) {
return;
Function renderFeeds
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const renderFeeds = (st, i18nInstance) => {
const feeds = document.querySelector('.feeds');
feeds.textContent = '';