daniel-ac-martin / NotGovUK

An implementation of the GOV.UK Design System in React that provides support for writing internal applications in addition to public ones.
https://not-gov.uk/
MIT License
27 stars 8 forks source link

Breadcrumbs pathname.match is not a function #977

Open Adam-Faculty opened 2 months ago

Adam-Faculty commented 2 months ago

I get the error pathname.match is not a function when using the component.

I believe this is because React Router introduced a breaking change on the matchPath function, flipping the parameter order round and this project is a major release behind react router now.

Thanks for the components! Very useful!