How to access path params from inside child or grand child which in separate file? - TanStack