Breadcrumbs pathname.match is not a function
Adam-Faculty opened this issue · comments
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!
@Adam-Faculty: Sorry for missing this. Do you know what version of react-router this was with?
I believe react-router-dom v6 changes the order around