Get free access to pre-built, Tailwind CSS-powered components, animations and effects - brought to life using Framer Motion. Just copy, paste and you're ready to go!
Error was cause from having html and body components in both src/app/layout.tsx and src/app/docs/layout.tsx.
Layouts are nested which means that src/app/layout.tsx is applied then src/app/docs/layout.tsx is placed inside of if which meant that we essentially had html > body > html > body which isn't allowed.
To fix this, I combined the html, body, and div components in src/app/docs/layout.tsx into a single div component.
fix: #107
Error was cause from having
html
andbody
components in bothsrc/app/layout.tsx
andsrc/app/docs/layout.tsx
.Layouts are nested which means that
src/app/layout.tsx
is applied thensrc/app/docs/layout.tsx
is placed inside of if which meant that we essentially hadhtml > body > html > body
which isn't allowed.To fix this, I combined the
html
,body
, anddiv
components insrc/app/docs/layout.tsx
into a singlediv
component.