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.
I get the error component.
pathname.match is not a function
when using theI 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!