next-admin icon indicating copy to clipboard operation
next-admin copied to clipboard

SSR Issue

Open nahtnam opened this issue 10 months ago • 2 comments

image

I'm getting the following error when rendering the NextAdmin component

nahtnam avatar Apr 18 '24 06:04 nahtnam

Hello

Thanks for the report. Are you seeing this on page router or app router ?

foyarash avatar Apr 18 '24 12:04 foyarash

I'm not the OP, but I see this using App router

ogoldberg avatar Apr 18 '24 13:04 ogoldberg

Hello

I was able to reproduce the issue. This seems to happen when you have a single root layout file, but multiple layout files producing an html tag with its body. A workaround is to create multiple root layout, one root layout for your app and one for the admin.

foyarash avatar May 27 '24 12:05 foyarash