Files
movie-advisor/app/(site)/@modal/[...catchAll]/page.tsx
T

6 lines
195 B
TypeScript

// Matches every non-intercepted route so the preview modal unmounts
// when navigating elsewhere (e.g. to a person page from the credits).
const CatchAll = () => null;
export default CatchAll;