So I'm trying to split my code into components, but this ends in the component rendering twice on my page. How can I prevent this behavior?