Root not-found.tsx with multiple root layouts

Is anyone aware of how to have a global not-found.tsx with multiple root layouts in Next's app directory?

Multiple root layouts are supported as outlined here: https://nextjs.org/docs/app/building-your-application/routing/route-groups#creating-multiple-root-layouts
And a global not-found is outlined here: https://nextjs.org/docs/app/api-reference/file-conventions/not-found

However, if a global not found is created in app/not-found then we get
image.png
Was this page helpful?