Next.js Discord

Discord Forum

Intercepting x Parallel routes issues

Unanswered
Mugger Crocodile posted this in #help-forum
Open in Discord
Mugger CrocodileOP
Hey, I’m trying to make an intercepting route, but no matter what, I can’t make the modal show up. Here is my folder structure

3 Replies

Mugger CrocodileOP
listings layout:
import type { ReactNode } from "react";

export default function ListingsLayout({
  children,
  modal,
}: {
  children: ReactNode;
  modal: ReactNode;
}) {
  return (
    <>
      {modal}
      {children}
    </>
  );
}
I’m also using nextjs rc and react compiler, maybe that is the issue?
Mugger CrocodileOP
I tried next@latest and the issue was still occuring