to implement useSearchParams in NextJs? It works seamless in dev mode, but causes errors during building (prererendering errors)
send error.
Oh I already fixed it. The error happened because I didn't wrap the component usinf the useSearchParams with a Suspense element.
Обсуждают сегодня