removing newposts from posts component