Returns an object of key/value pairs of the dynamic params from the current URL that were matched by the route path.
://reactrouter.com/v6/hooks/use-params