I have this component with an internal link which is used in multiple pages
when I try to import it as a button in the Nextjs application I get this result, it renders both the styled anchor link and the button in the background
With the exact same code in the React application I get the desired result
It looks like the prop “as” for some reason is not working in the Nextjs version of the application