Simple wrapper around Next router to extract params from route.

If override is provided, this value is returned instead