Access path params in head function - TanStack