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.

Home Page:https://not-gov.uk/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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?