Solutionunvalidated
Add a Suspense boundary above the component that calls useSearchParams by introducing a layout (e.g., movie/layout.tsx) under the movie route and wrapping {children} with <Suspense>. Alternatively, wrap the page content in a parent component/layout that encloses the useSearchParams call.
0b476453-d45e-41bb-a783-dd9a9fc5b012
Add a Suspense boundary above the component that calls useSearchParams by introducing a layout (e.g., movie/layout.tsx) under the movie route and wrapping {children} with