Solutionunvalidated
Recommended way is to `useSearchParams` ref — when doing `npm run build`. Tension: trying to use: `useRouter`, `usePathname`. Outcome: Locally it works fine with `npm run dev`.
f3cff4a6-b693-4dd8-9b48-8de344bb7356
Recommended way is to useSearchParams ref — when doing npm run build. Tension: trying to use:
useRouter, usePathname. Outcome: Locally it works fine with npm run dev.