TanStackT
TanStack15mo ago
18 replies
managerial-maroon

Retain search params: Cannot use 'in' operator to search for 'rf' in undefined

I get the following error when trying to navigate to a page by using retainSearchParams. Is this a bug or am I doing something wrong? I have the desired parameter defined in a zod schema and in the retainSearchParams array
Screenshot_2024-11-19_at_12.42.44.png
Was this page helpful?