Eliminating jsx from sticky component