This codemod reorders the arguments in the matchPath function calls. It switches the position of the string path and the second callback argument, improving consistency and readability.
Before
tsx
After
tsx
This change ensures that the string path is now the second argument, following the newer convention for using matchPath.