fixed React components rendering in /templates/react