Skip to content

Fix <ButtonLink> and disallow href props

Warren Gifford requested to merge philipp-spiess/fix-buttonlink into main

Created by: philipp-spiess

After changing some of the items on the nav bar to use <ButtonLink>, the Get Started button no longer works. It seems that the problem is that it sets an href on the <ButtonLink /> where it should set to. This works because the typing extends AnchorHTMLAttributes without omitting the href.

--

Whoever looks at this: feel free to merge on my behalf!

Merge request reports

Loading