Why is my NextJS component rendering twice? — Blankdot