Returns a resolved path object relative to the given pathname.
Optional
https://reactrouter.com/utils/resolve-path
Returns a resolved path object relative to the given pathname.