Open GoDUsopp2005 opened 3 months ago
try this @GoDUsopp2005 const shouldShowPosts = !shouldShowSearchResults && posts.pages.every( (item) => item && item.documents && item.documents.length === 0 );
const shouldShowPosts = !shouldShowSearchResults && posts.pages.every( (item) => item && item.documents && item.documents.length === 0 );