Replaced deprecated renderComponent() with render()